5 ms·
Obviously it is not line-oriented. So the selling points are? 1. custom delimiters 2. special syntax for fallback values 3. extended regular expression with Uni
by voaie 10y ago
Obviously it is not line-oriented. So the selling points are? 1. custom delimiters 2. special syntax for fallback values 3. extended regular expression with Unicode support
More?
- ezekg 10y agoWell, it can be line-oriented. It just depends on the regexp pattern and flags specified, i.e. `/^somePattern/someFormatter/` vs `/^somePattern/someFormatter/ms` (`m` flag to enable multi-line mode, `s` to let `.` match `\n`). It has support for multi-line matches, as well as matching per-line. Maybe I'm just misunderstanding you. Go's regexp syntax: https://golang.org/pkg/regexp/syntax/ https://golang.org/pkg/regexp/syntax/