Commit Graph

34 Commits (e1578b5848ebafc3107e4e3509b5fa787f79b02c)

Author SHA1 Message Date
Doug Coleman f8a23c657b a bit of refactoring, preparing to take options out of the parsing stage 2008-11-24 12:59:29 -06:00
Doug Coleman 23ac947162 remove <iregexp> 2008-11-24 01:21:18 -06:00
Doug Coleman db3c21663e better literal syntax for regexps. support ^ and $ (not in multiline mode yet) but not yet in multiline mode. support for \A and \Z \z is next. removed some crud from the parser, and added more commented out unit tests... 2008-11-24 00:18:27 -06:00
Doug Coleman afc97627f9 remove >r r> from regexp 2008-11-22 23:01:24 -06:00
Doug Coleman b00156bc85 fix count-matches and add unit test for it 2008-11-22 21:10:53 -06:00
Doug Coleman 6c5f761503 re-enable a unit test 2008-11-22 21:09:31 -06:00
Doug Coleman 87fb9c0971 another test for turning off dotall mode inline 2008-11-22 21:06:47 -06:00
Doug Coleman ba680fae6f handle dotall mode -- . matches newlines when it's on. dotall mode is off by default. rearrange unit tests a bit 2008-11-22 21:04:09 -06:00
Doug Coleman bcd75e97d3 fix match-all, re-split 2008-11-22 20:01:25 -06:00
Doug Coleman 86546552d3 more slices in regexps, change unit tests 2008-11-22 18:07:57 -06:00
Doug Coleman 22cc7a66f4 remove using for math.ranges 2008-11-22 17:31:40 -06:00
Doug Coleman 09969a5fc2 regexps return a slice instead of a range now 2008-11-22 17:30:16 -06:00
Doug Coleman e110bac51a better parsing of constants 2008-11-22 16:50:40 -06:00
Slava Pestov fb2523dc81 Revert "disable regexp failing tests for now"
This reverts commit 020a866e42.
2008-11-19 01:57:44 -06:00
Doug Coleman 020a866e42 disable regexp failing tests for now 2008-11-18 23:56:51 -06:00
Slava Pestov 4ab91ee742 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-18 16:16:41 -06:00
Slava Pestov fc1754e4a0 Add two failing tests 2008-11-18 16:16:34 -06:00
Doug Coleman f5adb971f6 re-enable literal syntax for regexps 2008-11-18 16:09:47 -06:00
Doug Coleman 239bfeafda fix "\\/" <regexp> 2008-11-18 16:06:56 -06:00
Doug Coleman 860bd1923b fix stack effect 2008-11-18 15:59:20 -06:00
Doug Coleman 535a9223bd remove bogus dependency on vars 2008-11-18 15:57:48 -06:00
Doug Coleman 49af5a1ac0 add support for [\\w] and [\\W] 2008-11-18 15:10:24 -06:00
Slava Pestov 5c51d9fd2c Get regexp words to infer 2008-11-17 21:42:59 -06:00
Doug Coleman 46aa56730b better parsing for anchors 2008-11-06 16:53:00 -06:00
Doug Coleman 811026ce4d removing some uses of at* in favor of at, simplifying code 2008-11-06 13:16:33 -06:00
Doug Coleman 9c5bd1e96d remove debug from regexp 2008-11-01 19:39:49 -05:00
Doug Coleman c252060bb5 first stab at capture groups. they work for unambiguous groups (no overlap), working on fixing it for any case 2008-09-22 20:09:42 -05:00
Doug Coleman 001b7826bc add more advanced lookaround tests 2008-09-22 15:14:45 -05:00
Doug Coleman 864f9ead99 fix negative lookbehind 2008-09-22 14:55:17 -05:00
Doug Coleman 80a9147691 working on lookbehind 2008-09-22 13:37:27 -05:00
Doug Coleman 56fbeb25ff fix options before non-capturing groups 2008-09-22 11:45:36 -05:00
Doug Coleman da35e13153 fix the parser for groups 2008-09-22 10:48:01 -05:00
Doug Coleman c61c9eb625 Merge branch 'master' of git://factorcode.org/git/factor 2008-09-22 10:16:07 -05:00
Slava Pestov fe071a8908 Move regexp to basis 2008-09-22 02:37:40 -05:00