You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changing the keywordMapper rule from [a-zA-Z_][a-zA-Z0-9_$]*\\b to (?<!\\s*\\.)([a-zA-Z_][a-zA-Z0-9_$]*)(?!\\s*\\.) in the pgSQL mode in https://ace.c9.io/tool/mode_creator.html tells you that the compiled regex is invalid, in chrome.
The (?<!\\s*\\.) is being transformed into (?:?<!\\s*\\.)
What I'm trying to achieve is to not get the second select in select xyz.select from s3.xyz" highlighted as a keyword, while maintaining s3as an identifier, rather than being split into an identifiersand numerical constant3`.
For now, I think I'll patch the tokenizer locally, to not mangle the lookbehind
The text was updated successfully, but these errors were encountered:
changing the
keywordMapper
rule from[a-zA-Z_][a-zA-Z0-9_$]*\\b
to(?<!\\s*\\.)([a-zA-Z_][a-zA-Z0-9_$]*)(?!\\s*\\.)
in thepgSQL
mode in https://ace.c9.io/tool/mode_creator.html tells you that the compiled regex is invalid, in chrome.The
(?<!\\s*\\.)
is being transformed into(?:?<!\\s*\\.)
What I'm trying to achieve is to not get the second
select
inselect xyz.select from s3.xyz" highlighted as a keyword, while maintaining
s3as an identifier, rather than being split into an identifier
sand numerical constant
3`.For now, I think I'll patch the tokenizer locally, to not mangle the lookbehind
The text was updated successfully, but these errors were encountered: