https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195763
Kyle Evans <bsdpo...@kyle-evans.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #179173|0 |1 is obsolete| | --- Comment #5 from Kyle Evans <bsdpo...@kyle-evans.net> --- Created attachment 179175 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179175&action=edit Proposed patch to address line matching issues Ugh, sorry -- this really should be the final version. Shortly after the last update, I caught a mailing list entry that mentioned broken beginning of line matching behavior and figured it would be wise to catch this as well. REG_NOTBOL needs to be manually set if we're past the beginning of the string because we also use REG_STARTEND to limit the scope of our matching, which makes the regex functions think we're beginning of line all the time. We do not need to do the same with EOL since we limit the scope by adjusting rm_so, resetting rm_eo to the end of the line. It might not be a bad idea to later set it anyways, just in case we change our mind, but for now that's out of scope. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"