Commit graph

105 commits

Author SHA1 Message Date
Sebastian Wilzbach
b82ae35fd7 Use void for auto function without return statement 2016-12-08 12:32:14 +01:00
Sebastian Wilzbach
2c8166318b Follow-up style fixes for November 2016-12-08 01:46:47 +01:00
Sebastian Wilzbach
64217c8965 Style fix: specify/remove local imports 2016-12-08 01:46:47 +01:00
Sebastian Wilzbach
6f1690f6b1 Style fix: enforce allman style 2016-12-08 01:46:46 +01:00
Dmitry Olshansky
83dce34742 [std.regex] Disable Bit-NFA in CTFE 2016-10-24 22:19:00 +03:00
Dmitry Olshansky
a2b5649805 [std.regex] More compact ThompsonMatcher struct, some % perf gain 2016-10-16 20:38:06 +03:00
Dmitry Olshansky
d745fb8ae2 [std.regex] Optimize reads from hash table 2016-10-11 17:28:35 +03: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
Dmitry Olshansky
91f0671bc7 [std.regex] rebase on top of latest master, fix shiftor 2016-10-01 20:59:12 +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
3544686b74 WIP fixing multi-pattern match 2016-10-01 20:59:12 +03:00
Dmitry Olshansky
20c5e399d3 Try to reduce memory usage in CT-regex tests 2016-10-01 20:59:12 +03:00
Dmitry Olshansky
2011a1a75c Trailing whitespace 2016-10-01 20:59:12 +03:00
Dmitry Olshansky
88ce1a1212 [std.regex] Limit ShiftOr to only apply where it's better then Bit-NFA 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
4610231288 [std.regex] Bit-NFA - fix inversion of the right sub-portion of regex 2016-10-01 20:59:12 +03:00
Dmitry Olshansky
845551b3d6 [std.regex] Bit-NFA fix premature stop on repetitions 2016-10-01 20:59:12 +03:00
Dmitry Olshansky
7d930c1de8 [std.regex] Even faster hash table for Bit-NFA 2016-10-01 20:59:12 +03:00
Dmitry Olshansky
5c21564f6f [std.regex] Improved hash-table for Bit-NFA 2016-10-01 20:59:12 +03:00
Dmitry Olshansky
ed4e07c779 [std.regex] Bit-NFA: implement unicode trie 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
1416ddb018 A start on 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
59706e6cae Added const and immutable to several variables in std.regex.internal.backtracking 2016-07-26 17:05:15 -04:00
Jack Stouffer
0bdd144e01 Fixed package wide std.range import in std.regex.internal.kickstart 2016-07-05 00:13:24 -04:00
Jack Stouffer
e97579b66a Fixed package wide std.algorithm imports in std.regex.internal.tests 2016-07-05 00:13:24 -04:00
Jack Stouffer
6420451c1b Fixed package wide std.algorithm imports in std.regex.internal.kickstart 2016-07-05 00:13:24 -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
67b196cafe Fixed package wide std.algorithm imports in std.regex.internal.parser 2016-07-05 00:13:24 -04:00
Jack Stouffer
399b4fa842 Fixed package wide std.algorithm imports in std.regex.internal.ir 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
b2fd3141b6 Removed package wide std.range import from std.regex.internal.backtracking 2016-07-04 15:37:30 -04:00
Jack Stouffer
f9001ae545 Removed package wide std.range import from std.regex.internal.ir 2016-07-04 15:37:30 -04:00
Jack Stouffer
03060622d8 Removed package wide std.range import from std.regex.internal.thompson 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
Jack Stouffer
04cc565d67 Fixed local imports in std.regex.internal.kickstart 2016-07-01 12:27:33 -04:00
Jack Stouffer
5698ca33cf Fixed local imports in std.regex.internal.ir 2016-07-01 12:27:33 -04:00
Jack Stouffer
8ddccb2ef0 Fixed local imports in std.regex.internal.generator 2016-07-01 12:27:32 -04:00
Jack Stouffer
3c9b46df7f Fixed local imports in std.regex.internal.backtracking 2016-07-01 12:27:32 -04: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
Mathias Lang
7f53fdfec0 Do not rely on the result of a comma expression
Also add `pragma(inline, true)` to ensure this function stays inlined.
2016-05-27 15:54:26 +02:00
Sebastian Wilzbach
484f7bfbe0 enforce: whitespace after catch 2016-05-14 15:28:43 +03:00
Jack Stouffer
c1600e7cf8 Fixed long lines in std/regex/internal/thompson.d 2016-05-10 20:51:39 -04:00
Jack Stouffer
0019d42106 Fixed long lines in std/regex/internal/tests.d 2016-05-10 20:51:39 -04:00