Ohm v16.3.0
Browser bundles: ohm.js • ohm.min.js
New features
- Added support for ES6-style Unicode code point escapes (
\u{...}
) inside terminal expressions. This can be used to specify code points above0xFFFF
. - Range expressions can now match a single code point, rather than being limited to a single, 16-bit code unit. E.g.,
"😇".."😈"
is now a valid range expression.
Bug fixes
- [#357] The "wrong number of arguments for rule" error message now includes the line and column where the error occurred.