mirror of https://github.com/apache/lucene.git
Add slashes around RegexpQuery.toString output for clarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1376797 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
13fd86913c
commit
a2c37ef44d
|
@ -97,7 +97,9 @@ public class RegexpQuery extends AutomatonQuery {
|
|||
buffer.append(term.field());
|
||||
buffer.append(":");
|
||||
}
|
||||
buffer.append('/');
|
||||
buffer.append(term.text());
|
||||
buffer.append('/');
|
||||
buffer.append(ToStringUtils.boost(getBoost()));
|
||||
return buffer.toString();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue