- Enable PCRE2_UTF and PCRE2_UCP for full Unicode support
- Unicode character classes (\p{L}, \p{N}, etc.) now work
- Unicode case folding for -i flag
- Increase max_line_len from 8KB to 1MB
- Strip trailing \r for Windows line endings on Unix
- Add 4 Unicode tests to test suite (71 total)
Implements -P/--perl-regexp with complete PCRE2 functionality:
- Lookahead/lookbehind assertions
- Non-capturing groups (?:...)
- Named groups (?P<name>...)
- PCRE character classes (\d, \w, \s, etc.)
- Word boundaries (\b)
New pcre_api.f90 module provides C bindings to libpcre2-8.
Makefile now links against libpcre2 via pkg-config.
- Fix -o to print only matched portions (multiple per line)
- Implement context lines (-A, -B, -C) with group separators
- Add --color=always support with ANSI escape codes
- Add tests for output options and context lines
- Update Makefile with regex module dependencies and comprehensive tests
- Update ferp_matcher.f90 to use regex_api for pattern matching
- Update main.f90 to compile patterns once for efficiency
- Add 36 tests covering BRE, ERE, POSIX classes, anchors, quantifiers