- bug fixed in class parseRegularExpressions. Change applied to parseRegularExpressions method replacing the \n character with a space.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-access/DatabasesResourcesManager@101542 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Loredana Liccardo 2014-11-10 14:22:34 +00:00
parent 630d4beadc
commit 0410564abd
1 changed files with 3 additions and 0 deletions

View File

@ -175,6 +175,9 @@ public class LexicalAnalyzer {
private static String parseRegularExpressions(String phrase) {
//replace the \n with the " "
phrase = phrase.replaceAll("\n", " ");
// replacement of the punctuation characters
// String todelete = "[\\]\\[!#$%&()*+,./:;<=>?@\\^_{|}~-]";
String todelete = "[\\]\\[!#$%&()*+,./:;<=>?@\\^{|}~-]";