Andrew Gallant 0fc24d275a
syntax: add is_line_anchored_{start,end}
This commit adds two new predicates to `Hir` values that permit querying
whether an expression is *line* anchored at the start or end.

This was motivated by a desire to tweak the offsets of a match when
enabling --crlf mode in ripgrep.
2019-01-26 11:14:27 -05:00
..
2018-11-30 22:05:18 -05:00