summaryrefslogtreecommitdiff
path: root/sys/src/libregexp
AgeCommit message (Collapse)Author
2017-07-31libregexp: fix lexer so it doesnt move past the string when it gets a \ escapecinap_lenrek
2017-04-30libregexp: miscellaneous little cleanupsspew
2017-02-19libregexp: fix assert check for compile1 instruction countcinap_lenrek
the assert fails for regcompnl(".") as TANY is compiled to one instruction instead of two when nl == 0. its not a problem when we end up with less instructions, so changing the assert condition from == to <= to make sure we didnt overrun the buffer. -- cinap
2017-02-03libregexp: improve the transition to next available thread, instruction, and ↵spew
generation
2017-02-02libregexp: simplify regular expression vm implementationspew
Make the logic around who has priority over the final match simpler by merging the priority generation and match fields in a smarter way. Move the creation of new thread matches up to the top to avoid jumping all over the place.
2016-11-17libavl, libregexp: put debug functions backftrvxmtrx
2016-11-17/sys/src/lib*: clean upftrvxmtrx
2016-05-02fix e2 production to match regexp(6) and do it right this timespew
2016-05-02libregexp: reverting this shit. this is clearly broken.cinap_lenrek
2016-05-02libregexp/regcomp.c: fix parser for e2 production (thanks, spew)stanley lieber
2016-05-01libregex: fix sed regression (thans spew)cinap_lenrek
I introduced a regression in sed that currently has screwed up /sys/lib/man/secindex. The issue is that sed 's/$/ foo/g' will actually replace the newline character with foo instead of just appending at the end of the line. This only makes a difference when sed is operating on a multiple line record. The effect is a record like: foo bar baz becomes: foo foobar foo baz foo instead of foo foo bar foo baz foo
2016-04-28get rid of size printingben
2016-04-27check program sizeben
2016-04-27better memory management of threads (thanks knuth)ben
2016-04-27remove ape regexp library, add utility for awk native portben
2016-04-26remove old libregexp files; add headers for upas/bayesben
2016-04-26New libregexp and APE ported to nativeben
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen