diff --git a/org.dadacoalition.yedit/src/org/dadacoalition/yedit/editor/scanner/KeyRule.java b/org.dadacoalition.yedit/src/org/dadacoalition/yedit/editor/scanner/KeyRule.java index 34fa330..7acd961 100644 --- a/org.dadacoalition.yedit/src/org/dadacoalition/yedit/editor/scanner/KeyRule.java +++ b/org.dadacoalition.yedit/src/org/dadacoalition/yedit/editor/scanner/KeyRule.java @@ -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) {