Daniel Gollahon
2bbaef5145
Sort regexp nodes lexicographically
...
- To reduce diff noise in following PRs and have a well-defined ordering
of nodes.
2016-10-09 16:50:33 -07:00
John Backus
b196e08a44
Add mutations from /foo|bar/ -> /foo/ and /bar/
2016-08-21 15:19:04 -07:00
John Backus
dd91f7c1b8
Add regexp_alternation_meta mutations
2016-08-21 15:14:43 -07:00
John Backus
11a130ed43
Add character type mutations
...
Mutations:
- `/\b/` -> `/\B/` (closes #577 )
- `/\B/` -> `/\b/` (closes #578 )
- `/\d/` -> `/\D/` (closes #579 )
- `/\D/` -> `/\d/` (closes #580 )
- `/\s/` -> `/\S/` (closes #583 )
- `/\S/` -> `/\s/` (closes #584 )
- `/\w/` -> `/\W/` (closes #585 )
- `/\W/` -> `/\w/` (closes #586 )
2016-08-21 14:57:40 -07:00
John Backus
dd58822cc1
Extract meta duplication to regexp_mutations
2016-08-14 15:01:21 -07:00
John Backus
770f34eee5
Reintroduce Regexp mutations
...
- Reverts commit 8c0c656aec
- Fixes #595
- Adds support for `\h` and `\H`
2016-07-25 12:21:50 -07:00
Markus Schirp
8c0c656aec
Revert "Mutate regexp body"
2016-05-29 17:07:35 +00:00
John Backus
eaf1abed0e
Add regular expression mutation
...
- Adds dependency on regexp_parser
- Introduces a bijective mapper from regexp_parser expression to ast
- Extracts generic TypeRegistry
- Refactors Regexp::Transformer to use TypeRegistry
2016-05-22 20:45:14 -07:00