> I must missunderstand how to use regex(3).

To add a bit, running the same program on Linux gives the expected results:

regexpr=a(.)c
number of substrings=1
return from regexec=0
nmatch=0
p0.so=0 p0.eo=0
p1.so=0 p1.eo=0
p2.so=0 p2.eo=0
p3.so=0 p3.eo=0
return from regexec=0
nmatch=1
p0.so=0 p0.eo=3
p1.so=0 p1.eo=0
p2.so=0 p2.eo=0
p3.so=0 p3.eo=0
return from regexec=0
nmatch=2
p0.so=0 p0.eo=3
p1.so=1 p1.eo=2
p2.so=0 p2.eo=0
p3.so=0 p3.eo=0


Olivier
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to