ferroni 2.2.4

Oniguruma's regex engine in pure Rust: full Oniguruma syntax, a vscode-oniguruma-compatible TextMate scanner, no C toolchain
Documentation
1
2
3
4
5
6
// Unmodified number expressions from the V and PureScript TextMate grammars.
// Snapshot provenance is recorded in docs/archive/experiments/197-decimal-loop-atomic.md.
pub const V_FLOAT: &str = r"([0-9]+(_?))+(\.)([0-9]+)";
pub const V_EXPONENT: &str = r"([0-9]+(_?))+(\.)([0-9]+[Ee][-+]?[0-9]+)";
// Requires internal digit give-back; experiment 4 makes the complete tail atomic.
pub const PURESCRIPT_INTEGER: &str = r"\b(([0-9]+_?)*[0-9]+|0([Xx]\h+|[Oo][0-7]+))\b";