a pcre question

Victor Sudakov vas at mpeks.tomsk.su
Thu Jul 4 04:37:34 UTC 2019

Dear Colleagues,

Sorry for a not directly FreeBSD-related question, but why can't I make
pcretest from devel/pcre match a newline to the "." token? I expected
that either the "m" or the "s" modifier should do the job, but alas!

$ pcretest ~/tmp/koshka.txt
PCRE version 8.43 2019-02-23

No match
No match
No match
No match
No match

While the same regex /koshka.*sobaka/s yields a match on https://regex101.com/

Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20190704/be754ba5/attachment.sig>

More information about the freebsd-questions mailing list