Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Martin Nowak
1be69f36df
Merge remote-tracking branch 'upstream/stable' into merge_stable
...
# Conflicts:
# std/regex/internal/backtracking.d
# std/regex/internal/shiftor.d
# std/regex/package.d
2017-03-21 15:29:15 +01:00
The Dlang Bot
091ff0f8bb
Merge pull request #5252 from DmitryOlshansky/issue-17075
...
Fix issue 17075 ctRegex BacktrackingMatcher.prevStack: free(): invali…
merged-on-behalf-of: H. S. Teoh <quickfur@users.noreply.github.com>
2017-03-15 01:33:57 +01:00
Dmitry Olshansky
d47c8859bc
Fix issue 17075 ctRegex BacktrackingMatcher.prevStack: free(): invalid pointer
2017-03-15 00:04:36 +01:00
Dmitry Olshansky
0e76847361
Fix issue 17157 ctRegex.matchAll doesn't set last item in Captures
2017-03-09 22:23:26 +01:00
Sebastian Wilzbach
ef7be4b60d
Automatically add spaces to binary operators (<<)
...
command:
sed -E "s/([[:alnum:]]) << ([[:alnum:]])/\1 << \2/g" -i **/*.d
sed -E "s/([[:alnum:]])<< ([[:alnum:]])/\1 << \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) <<([[:alnum:]])/\1 << \2/g" -i **/*.d
2017-02-23 00:57:47 +01:00
Sebastian Wilzbach
425ab667a3
Automatically set the range style from a..b -> a .. b
...
Commands:
sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595
Unify Phobos by ensuring there's always a space after cast(...)
...
Command:
sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +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
64217c8965
Style fix: specify/remove local imports
2016-12-08 01:46:47 +01:00
Dmitry Olshansky
e98fa4ad5a
[std.regex] Fix issue 9391 - const regex, ctRegex is immutable
2016-10-07 01:40:41 +03:00
Dmitry Olshansky
ecd33f148c
[std.regex] Get Bit-NFA working on the testsuite
2016-10-01 20:59:12 +03:00
Dmitry Olshansky
66048ae334
[Refactor] Generalize kickstart engines, in preparation for more to come
2016-10-01 20:59:12 +03:00
Jack Stouffer
59706e6cae
Added const and immutable to several variables in std.regex.internal.backtracking
2016-07-26 17:05:15 -04:00
Jack Stouffer
808ea77a99
Fixed package wide std.algorithm imports in std.regex.internal.backtracking
2016-07-05 00:13:24 -04:00
Jack Stouffer
b2fd3141b6
Removed package wide std.range import from std.regex.internal.backtracking
2016-07-04 15:37:30 -04:00
Jack Stouffer
3c9b46df7f
Fixed local imports in std.regex.internal.backtracking
2016-07-01 12:27:32 -04:00
Jack Stouffer
a932457c06
Fixed long lines in std/regex/internal/backtracking.d
2016-05-10 20:51:39 -04:00
Dmitry Olshansky
680f690939
[std.regex] Inline regex flags
2016-04-30 11:39:05 +03: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
Dmitry Olshansky
e6c3320b1f
Fix issue 12227 - Allow matching multiple patterns in one go with std.regex
2016-04-15 16:17:36 +03:00
Dmitry Olshansky
7f8b6158e7
Help DMD's inliner a bit for 2 functions
2016-04-07 15:08:30 +03:00
Dmitry Olshansky
0816375a34
Generating unrolled code for small codepoint sets
...
Need to figure out the case of empty charsets.
2016-04-07 15:08:30 +03:00
Dmitry Olshansky
4b7b8d7f6c
Add rolling trace filter to backtracking engine
...
This cuts down on redundant backtracking on most real-world inputs.
2016-04-02 12:09:20 +03:00
Dmitry Olshansky
df07aa7dea
Special case ASCII to use bit tables insted of 2-level tries
2016-03-27 20:26:49 +03:00
Dmitry Olshansky
56b90e7f5a
Drop "quick" test that never was quick anyway
2016-03-24 18:21:28 +03:00
Dmitry Olshansky
9d445d182d
Introduce filtered loops with bloom filters
...
Make use of bloom filter on dchar to predict if we should take the
out of loop branch.
2016-03-21 22:06:56 +03:00
Robert burner Schadek
81eef5a48b
regex_internal: alias syntax update
2015-05-28 19:02:15 +02: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