3 ms·
Well, it can be line-oriented. It just depends on the regexp pattern and flags specified, i.e. `/^somePattern/someFormatter/` vs `/^somePattern/someFormatter/ms
by ezekg 11y ago
Well, 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/