mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
Fix escape character for search syntax (#1972)
Replace escaped characters to display automatically escaped characters in search syntax and examples.
This commit is contained in:
@@ -136,10 +136,10 @@ Search supports using parentheses to group clauses to form sub queries. This can
|
||||
|
||||
The search supports escaping special characters that are part of the query syntax. The current list special characters are
|
||||
|
||||
+ - && || ! ( ) { } [ ] ^ " ~ * ? : \\ /
|
||||
+ − && || ! ( ) { } [ ] ^ " ~ * ? : \ /
|
||||
|
||||
To escape these characters use the "\\" before the character. For example to search for (1+1):2 use the query:
|
||||
To escape these characters use the "\" before the character. For example to search for (1+1):2 use the query:
|
||||
|
||||
\\(1\\+1\\)\\:2
|
||||
\(1\+1\)\:2
|
||||
|
||||
Source: [https://javadoc.io/static/org.apache.lucene/lucene-queryparser/8.9.0/org/apache/lucene/queryparser/classic/package-summary.html#package.description](https://javadoc.io/static/org.apache.lucene/lucene-queryparser/8.9.0/org/apache/lucene/queryparser/classic/package-summary.html#package.description)`;
|
||||
|
||||
Reference in New Issue
Block a user