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
This is a follow up on #27486 (comment) which is about having support for the word-regex in xyz.language-configuration.json-files. There we have {pattern:string; flags:string} or just a string and in the problem matcher definition of the task framework we have {regexp:string; ...}.
Since both seem different and since problem matchers are already shipped we should consider aligning the language configuration.
in the pattern matching extension point there is the notion of a regular expression.
today there is a regexp property that belongs to an object that contains very many other things.
if we will add support for customizing the flags for a regular expression in a problem matcher (e.g. case insensitive, new unicode support in node8), we will go down the path where regexp: string | { pattern: string; flags: string }
this will make it that this is all aligned nicely with wordDefinition: string | { pattern: string; flags: string }
Activity
alexdima commentedon May 31, 2017
After discussion with Dirk Bäumer (@dbaeumer) and Johannes Rieken (@jrieken) we agree:
regexpproperty that belongs to an object that contains very many other things.regexp: string | { pattern: string; flags: string }wordDefinition: string | { pattern: string; flags: string }