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
Sebastian Wilzbach
87dec58a41
DStyle: Constraints on declarations should have the same indentation level
2017-02-17 07:36:23 +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
Martin Nowak
07090ae2fd
disable kickstart in ctfe to workaround Issue 16626
...
- consumes too much memory, introduced by
e98fa4ad5a
(#4286 )
2016-12-24 17:03:01 +01:00
Sebastian Wilzbach
2c8166318b
Follow-up style fixes for November
2016-12-08 01:46:47 +01:00
Dmitry Olshansky
83dce34742
[std.regex] Disable Bit-NFA in CTFE
2016-10-24 22:19:00 +03:00
Dmitry Olshansky
cd2c28f402
[std.regex] Trailing whites
2016-10-07 01:43:05 +03:00
Dmitry Olshansky
e98fa4ad5a
[std.regex] Fix issue 9391 - const regex, ctRegex is immutable
2016-10-07 01:40:41 +03:00
Dmitry Olshansky
b94a203b0b
[std.regex] Re-style pass
2016-10-01 20:59:12 +03:00
Dmitry Olshansky
ecd33f148c
[std.regex] Get Bit-NFA working on the testsuite
2016-10-01 20:59:12 +03:00
Dmitry Olshansky
138a2f3dcb
[std.regex] Integrate Bit-NFA into std.regex
2016-10-01 20:59:12 +03:00
Dmitry Olshansky
99095eebfc
ASCII-only version of Bit-NFA
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
e2ce5a9519
Added const and immutable to several variables in std.regex.internal.parser
2016-07-27 11:12:45 -04:00
Jack Stouffer
67b196cafe
Fixed package wide std.algorithm imports in std.regex.internal.parser
2016-07-05 00:13:24 -04:00
Jack Stouffer
31e7f4a510
Removed package wide std.range import from std.regex.internal.parser
2016-07-04 15:37:30 -04:00
Jack Stouffer
5351c09f21
Fixed local imports in std.regex.internal.parser
2016-07-01 12:27:33 -04:00
Sebastian Wilzbach
484f7bfbe0
enforce: whitespace after catch
2016-05-14 15:28:43 +03: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
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
Ilya Yaroshenko
cf48dc32e2
Merge pull request #4180 from DmitryOlshansky/fix-issue15864
...
Fix issue 15864 - chmgen triggers exception in std.regex
2016-04-16 06:41:27 +02: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
Dmitry Olshansky
25d81e662d
Fix issue 15864 - chmgen triggers exception in std.regex
2016-04-11 21:43:19 +03:00
Dmitry Olshansky
12c7d68044
Fix issue 12367 - std.regex: Recognize (?# ... ) comment syntax
2016-04-10 22:47:40 +03:00
Dmitry Olshansky
5e4853f723
Fix issue 15773 - D's treatment of whitespace in character classes in free-form regexes is not the same as Perl's
2016-04-09 11:14:45 +03:00
Dmitry Olshansky
afd16eac09
Fix issue 7551 - Regex parsing bug for right bracket in character class
2016-04-06 22:52:54 +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
Martin Nowak
ce2ac192c9
fix incorrect imports/fqn usages
...
- mostly of the form `import a.b : sym; a.b.sym();`, which is wrong b/c
selective imports do not add the module to the current scope
2016-02-20 14:41:44 +01:00
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
David Soria Parra
0b55d6319a
std.regex: simplify case statement
...
The old issue 12603 is fixed according to the issue tracker. Therefore we try to
simplify the case statement as proposed initially.
2015-07-08 14:05:40 +02:00
David Soria Parra
46831a485e
std.regex: correctly add last character of a set to regex (bugzilla 14529)
...
When encounting the end of a character set ']' we have to correctly add the last
encountered valid character to the regex and resepect flags. This bug caused the
last character to not be correctly case folded if case folding was requested.
This fixes https://issues.dlang.org/show_bug.cgi?id=14529 .
2015-07-07 01:32:11 +02:00
Robert burner Schadek
81eef5a48b
regex_internal: alias syntax update
2015-05-28 19:02:15 +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
Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03: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