Skip to content

Commit

Permalink
oyse#40 - allow accented characters in the keys
Browse files Browse the repository at this point in the history
  • Loading branch information
tfesenko committed Mar 29, 2017
1 parent 36b891a commit 1546a6c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
*/
public class KeyRule implements IRule {

private IToken token;
private IToken token;
private Pattern keyPattern;

public KeyRule( IToken token ){
this.token = token;
keyPattern = Pattern.compile( getKeyRegex(), Pattern.DOTALL | Pattern.COMMENTS );
keyPattern = Pattern.compile( getKeyRegex(), Pattern.DOTALL | Pattern.COMMENTS | Pattern.UNICODE_CHARACTER_CLASS);
}

public IToken evaluate(ICharacterScanner scanner) {
Expand Down

0 comments on commit 1546a6c

Please sign in to comment.