Skip to content

Commit 23e91d9

Browse files
authored
Update HistoryLineTokenizer.lex
include \p{Letter} in the {Identifier} initial character match.
1 parent addd9b5 commit 23e91d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/opensolaris/opengrok/search/context/HistoryLineTokenizer.lex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ stopset.add( "1.0");
9696
}
9797
%}
9898

99-
Identifier = [a-zA-Z_] [a-zA-Z0-9_]*
99+
Identifier = [a-zA-Z\p{Letter}_] [a-zA-Z\p{Letter}0-9\p{Number}_]*
100100
Number = [0-9]+|[0-9]+\.[0-9]+| "0[xX]" [0-9a-fA-F]+
101101
Printable = [\@\$\%\^\&\-+=\?\.\:]
102102

0 commit comments

Comments
 (0)