On Friday 05 of October 2012 09:04:55 erik quanstrom wrote: > > $PLAN9/src/cmd/plumb $ 9 diff -c -n rules.c-orig rules.c > > X-rules.c:363 c rules.c:363 > > < r->regex = regcomp(r->qarg); > > --- > > > > > r->regex = regcompnl(r->qarg); > > you'll probablly rather put a literal newline in your rule. > you probablly don't want any surprises in other rules that > expect . not to match \n. ☺
good point. i've tried in two ways, both failed: data matches='foo ' (literal newline) and data matches='foo\n' (C-style escape sequence). first trips plumber's parser, the other doesn't match anything -- perhaps \n is taken literaly. -- Mateusz Jan Przybylski,
