mruby-regexp: update README for x flag support

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2026-03-21 14:19:55 +09:00
parent 78d761addf
commit 3f627c0d7d
+1 -2
View File
@@ -36,6 +36,7 @@ simulation) with backtracking fallback.
- `i` (`Regexp::IGNORECASE`) case-insensitive matching (ASCII)
- `m` (`Regexp::MULTILINE`) `.` matches newline; `^`/`$` match at line boundaries
- `x` (`Regexp::EXTENDED`) free-spacing mode; unescaped whitespace ignored, `#` starts comments
### Ruby API
@@ -104,8 +105,6 @@ pattern analysis.
- **No lookbehind**: `(?<=...)` and `(?<!...)` are not supported.
- **No Unicode properties**: `\p{Alpha}`, `\p{L}`, etc. are not
supported.
- **No extended mode**: The `x` flag (free-spacing mode) is not
supported.
- **ASCII case folding only**: The `i` flag handles ASCII letters
only.
- **Step limit on backtracking**: Patterns that require the