RegExp Assemble Syntax
This is a VSCode language extension built for working with the regex-assembly (.ra) files used in coreruleset and processed by crs-toolchain.
Features
Syntax highlighting for all regex-assembly directives (comments, flags, prefix/suffix, assemble, define, include, include-except, cmdline and named assemblies), {{definition}} references and the regular expressions themselves. See the regex-assembly documentation for the syntax.
Development
Edit syntaxes/ra.tmLanguage.yaml, then run npm run build to regenerate syntaxes/ra.tmLanguage.json. The tests fail if the two differ.
Installation
Install RegExp-Assemble Syntax from the Visual Studio Marketplace, or download the .vsix file from the latest release and install it:
code --install-extension regexp-assemble-syntax-<version>.vsix
Releases
Releases are cut by release-please from Conventional Commits on main: fix: and feat: commits open a release PR, and merging it tags the release, attaches the packaged .vsix and publishes it to the Marketplace.