- 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:
parent
630d4beadc
commit
0410564abd
|
@ -175,6 +175,9 @@ public class LexicalAnalyzer {
|
||||||
|
|
||||||
private static String parseRegularExpressions(String phrase) {
|
private static String parseRegularExpressions(String phrase) {
|
||||||
|
|
||||||
|
//replace the \n with the " "
|
||||||
|
phrase = phrase.replaceAll("\n", " ");
|
||||||
|
|
||||||
// replacement of the punctuation characters
|
// replacement of the punctuation characters
|
||||||
// String todelete = "[\\]\\[!#$%&()*+,./:;<=>?@\\^_{|}~-]";
|
// String todelete = "[\\]\\[!#$%&()*+,./:;<=>?@\\^_{|}~-]";
|
||||||
String todelete = "[\\]\\[!#$%&()*+,./:;<=>?@\\^{|}~-]";
|
String todelete = "[\\]\\[!#$%&()*+,./:;<=>?@\\^{|}~-]";
|
||||||
|
|
Loading…
Reference in New Issue