Missing start of line quantifier
Brettm12345 opened this issue · comments
I should be able to do
new Matcher().startOfLine().find('import')
I think the begin()
with multiline flag applied (m()
) method is what you're looking for.
new Matcher().begin().find("import").m()