mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merge V1.3 to HEAD (3045:3063)
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3045 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3063 . git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -34,7 +34,7 @@ public class SearchLanguageConversion
|
||||
* <li>Reserved: \%_</li>
|
||||
* </ul>
|
||||
*/
|
||||
public static LanguageDefinition DEF_XPATH_LIKE = new SimpleLanguageDef('\\', "%", "_", "\\%_");
|
||||
public static LanguageDefinition DEF_XPATH_LIKE = new SimpleLanguageDef('\\', "%", "_", "\\%_[]");
|
||||
/**
|
||||
* Regular expression query language summary:
|
||||
* <ul>
|
||||
|
@@ -42,7 +42,7 @@ public class SearchLanguageConversionTest extends TestCase
|
||||
assertEquals("Escaping for xpath failed",
|
||||
"\\\\ | ! \" £ " +
|
||||
"$ \\% ^ & * ( " +
|
||||
") \\_ { } [ ] " +
|
||||
") \\_ { } \\[ \\] " +
|
||||
"@ # ~ ' : ; " +
|
||||
", . < > + ? " +
|
||||
"/ \\\\\\\\ \\\\* \\\\? \\\\\\_",
|
||||
|
Reference in New Issue
Block a user