Commit Graph

34 Commits (3db98706691d38f0d1c5d099ed990ae0c6eaa6ee)

Author SHA1 Message Date
John Benediktsson 26abdf4a23 regexp: try again to fix the issue with backslashes.
the new simple rule is inside R/ syntax all backslashes should be
escaped to allow easy regexp literal tokenization:

R/ [\/]/

but in the constructor <regexp> they shouldn't be:

"[/]" <regexp>

When the regexp is prettyprinted we make sure to visually escape the
backslashes in the raw regexp.
2019-03-21 13:29:15 -07:00
John Benediktsson 1ab1ef7f68 Revert "globs: simpler separator regexp."
This reverts commit 31f309a829.
2019-03-18 10:42:23 -07:00
John Benediktsson 31f309a829 globs: simpler separator regexp. 2019-03-17 13:14:28 -07:00
Doug Coleman 4b614cc15b factor: Make source files/resources 644 instead of 755. 2018-07-13 20:36:50 -05:00
Doug Coleman 15b13870ae peg.ebnf: Clean up EBNF: syntax.
The syntax for an EBNF parser is now ``EBNF: identifier string``. The
inline syntax went from [EBNF ...  EBNF] to EBNF[[ ]], EBNF[=[ ]=], etc.

<EBNF looked for a main word, but this functionality is just EBNF[[ ]]
now.
2017-08-05 22:23:57 -05:00
John Benediktsson c590ad1201 globs: fix glob for literal path. 2016-09-16 17:41:31 -07:00
John Benediktsson 1234eb72e2 globs: rename glob-directory to glob. 2016-04-06 14:04:21 -07:00
John Benediktsson a5f117c88f globs: making glob-matches? support wildcards. 2016-04-06 14:02:48 -07:00
John Benediktsson f80057d4b0 globs: fix glob pattern on directories. 2016-04-06 13:10:24 -07:00
John Benediktsson 2269b07d33 use with-temp-file and with-temp-directory in some tests. 2016-04-04 10:33:03 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson cba0a96c10 regexp: one R/ syntax to rule them all, simpler this way. 2016-03-30 21:09:08 -07:00
John Benediktsson 676168cabc globs: ignore hidden paths. 2016-03-28 08:01:28 -07:00
John Benediktsson 367c565ba1 globs: use path-separator? to allow windows to split on /. 2016-03-28 06:38:32 -07:00
John Benediktsson 1dd9a73ae8 globs: more tests. 2016-03-27 20:50:13 -07:00
John Benediktsson 5f11bf63b6 globs: adding tests for char-range. 2016-03-27 18:55:45 -07:00
John Benediktsson ffbd9e4754 globs: removing glob-parent-directory. 2016-03-27 18:54:38 -07:00
John Benediktsson 1441d66553 globs: implement glob-directory.
It looks too complicated, and maybe it is.  Some tests pass.
2016-03-27 18:52:20 -07:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -07:00
Doug Coleman 40892c0302 tests: prefer ${ } instead of 1array 2015-07-02 14:56:14 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Joe Groff a9c13e0301 fix last globs test on windows 2010-02-16 22:19:56 -08:00
Joe Groff 9af0f8d426 fix globs tests 2010-02-16 10:40:23 -08:00
Joe Groff 5f0855c5c2 globs: add "glob-parent-directory" word that returns the deepest level of a path without glob symbols 2010-02-14 11:49:33 -08:00
Joe Groff 72de727d0e globs: * and ? should not match path-separator 2010-02-13 13:35:04 -08:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov 99de526e8b Update meta-data 2009-03-13 20:46:08 -05:00
Daniel Ehrenberg 987cd1c8ce Moving regexp.matchers back to regexp 2009-03-10 18:27:33 -05:00
Daniel Ehrenberg 0b5ebce339 Switching basis/globs to regexps (and EBNF for syntax); this exposes a bug in regexp 2009-03-02 15:31:28 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Doug Coleman c6ab49e8ca use parser-combinators.regexp instead of regexp 2008-09-18 13:48:18 -05:00
Slava Pestov 724fae53e9 Move web framework to basis 2008-09-04 18:15:13 -05:00