Martin Nowak
48a1792095
add missing imports for "old" std.regex unittests
...
- old tests after reverting BitNFA didn't have isolated runnable unittests
2017-02-16 17:44:10 +01:00
Jack Stouffer
5a2491a847
Fix Issue 17161 - Revert all changes to std.regex from 2.072.2 onwards
2017-02-12 12:30:40 -05:00
Sebastian Wilzbach
cc7f125ed1
Add missing imports to public unittests
2016-12-15 23:23:35 +01:00
Dmitry Olshansky
f8b3eea065
[std.regex] Addressing review comments
2016-10-09 15:35:32 +03:00
Dmitry Olshansky
d1d53c556c
[std.regex] Fixes for recent compiler version
2016-10-07 02:17:40 +03:00
Dmitry Olshansky
cd2c28f402
[std.regex] Trailing whites
2016-10-07 01:43:05 +03:00
Dmitry Olshansky
87847ed480
[std.regex] More tests for issue 9391
2016-10-07 01:41:09 +03:00
Dmitry Olshansky
e98fa4ad5a
[std.regex] Fix issue 9391 - const regex, ctRegex is immutable
2016-10-07 01:40:41 +03:00
Jack Stouffer
81e97a0fe0
Added const and inout to methods in std.regex/package
2016-07-20 13:54:32 -04:00
Jack Stouffer
89fadf3edc
Fixed package wide std.algorithm imports in std.regex.package
2016-07-05 00:13:22 -04:00
Jack Stouffer
3d580b8bf1
Removed global std.exception import from std.regex.package
2016-07-04 15:37:29 -04:00
Jack Stouffer
996aeb4505
Removed package wide std.range import from std.regex.package
2016-07-04 15:37:27 -04:00
Jack Stouffer
f8d5741633
Fixed local imports in std.regex
2016-07-01 12:27:33 -04:00
Sebastian Wilzbach
ec47ac4224
Remove the WEB macro in favor of HTTP
...
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Sebastian Wilzbach
1d34a121e9
apply all-man braces in Phobos
...
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Sebastian Wilzbach
2dfbc51f17
Standardize whitespace after imports
...
Unified with:
sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
Jack Stouffer
3b24d6436d
Fixed long lines in std/regex/package.d
2016-05-10 20:51:39 -04:00
Sebastian Wilzbach
5a8988c149
style fix: add space after for operator
2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
Ilya Yaroshenko
46ca5dad0d
Merge pull request #4142 from DmitryOlshansky/regex-ref-counting
...
[std.regex] Use ref-counting for Captures struct
2016-04-26 14:31:35 +03:00
Dmitry Olshansky
8a487e2145
[std.regex] Split generation and parsing, almost completely.
...
This should aid readability and reduce the obscurity of the parser.
Also potentially non-generating parser is possible.
2016-04-25 14:12:08 +03:00
Dmitry Olshansky
872673d557
Use ref-counting for Captures struct
2016-04-16 11:26:31 +03:00
Dmitry Olshansky
e6c3320b1f
Fix issue 12227 - Allow matching multiple patterns in one go with std.regex
2016-04-15 16:17:36 +03:00
Ilya Yaroshenko
4e393eb70a
Merge pull request #4156 from DmitryOlshansky/issue-2104
...
Fix issue 2104 - escape function for regular expressions
2016-04-14 17:53:00 +02:00
Dmitry Olshansky
cf6152c13f
Fix issue 2104 - escape function for regular expressions
2016-04-14 16:54:36 +03:00
Yazan Dabain
9887af3fe6
Fix some imports
2016-04-12 22:15:09 +03:00
Jack Stouffer
02e11abd54
Fix Issue 15797: Add keepSeperator option to std.regex.splitter
2016-04-11 15:55:14 -04:00
Dmitry Olshansky
9f256889ed
Add documnetation and changelog for issue 12367
2016-04-11 15:05:21 +03:00
Dmitry Olshansky
add07e7ea6
Fix issue 14615 - std.regex.replaceFirstInto throws exception when no match is found
2016-04-07 10:49:30 +03:00
Sebastian Wilzbach
6c386d6f31
convert docstring examples to unittests
2016-03-03 19:39:12 +02:00
Steven Schveighoffer
b0acb7a394
Fix remaining import deprecation messages
2016-02-22 16:03:12 -05:00
Benjamin L. Merritt
5f08c058ab
Changed "Examples:" in Ddoc to "Example:"
2015-12-17 18:32:41 -08:00
Walter Bright
cf22992cbb
Merge pull request #3768 from CyberShadow/pull-20151024-051829
...
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007
HTML fixes
2015-10-24 06:19:23 +00:00
Shriramana Sharma
1e7a6f76da
give a better example for std.regex.replaceAllInto
2015-10-22 16:24:35 +05:30
Brian Schott
67c95e6de2
Merge pull request #3715 from dcarp/AliasSeq
...
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
Vladimir Panteleev
82590904f7
fix Issue 15208 - Eradicate all uses of "Enforcement failed" in Phobos
2015-10-15 23:44:44 +00:00
Dragos Carp
d698887729
Remove obsolete TypeTuple references
...
Replace following names:
std.typetuple -> std.meta
TypeTuple -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple -> Fields
std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Walter Bright
d9a9826e55
Revert "Introducing std.meta package"
2015-05-06 14:36:45 -07:00
Dicebot
82f54a38d3
TypeTuple -> MetaList inside Phobos
2015-05-05 22:22:11 +03:00
Dragos Carp
b170d93693
Fix some PHOBOSSRC broken links
2015-04-29 11:02:58 +02:00
Andrei Alexandrescu
cb044b02aa
Verbatim-related changes in phobos
2015-01-12 00:05:36 -08:00
Andrei Alexandrescu
26b4771dc1
Eliminate superfluous "Intro" heading
2015-01-06 22:31:08 -08:00
Vladimir Panteleev
b558c742ff
std/regex/package: Fix unmatched --- in DDoc comment
2014-09-18 00:34:51 +00:00
k-hara
0bc582f51e
Add missing imports
2014-09-17 21:14:12 +09:00
Dmitry Olshansky
2b78074fc2
Split up the intertwined mess of std.regex.
...
The docs and API still stay in one file.
With time and refactoring more internals may be
exposed such as parser, each engine explicitly
and the sample generator (generator.d).
Also inclusdes changes prompted by reviews/pulls:
Convert spaces-->tabs in makefiles.
Move things (again) to std/regex/internal.
Use new package(std.regex) feature.
Remove C-style arrays (some other pull against regex.d).
2014-09-13 13:45:46 +04:00