utils_match: Let '^' and '$' affect lines rather than the full string.
authorSebastian Harl <sh@tokkee.org>
Mon, 23 Aug 2010 16:56:02 +0000 (18:56 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 23 Aug 2010 17:07:22 +0000 (19:07 +0200)
commita0f552b023917a5b5dac834a5b8d1ef5b82f27f5
tree324698c3c0b28897fc9bdcdf52a974c64592ff70
parentbb3db398b2d67b169a24d942a82d708478507fb2
utils_match: Let '^' and '$' affect lines rather than the full string.

The regcomp() flag REG_NEWLINE is required for that, even though regex(7)
might make people think otherwise.
src/utils_match.c