Commit graph

189 commits

Author SHA1 Message Date
Martin Nowak
ff23ea7997 Merge pull request #1791 from blackwhale/range-bug-regex
fix issue 11775 std.regex should check for valid repetition range
2013-12-19 12:24:11 -08:00
Martin Nowak
22b2a267e8 Merge pull request #1789 from blackwhale/opcast-regex
fix issue 11770  std.regex.Captures should be convertible to bool
2013-12-19 11:24:37 -08:00
Dmitry Olshansky
e598f92224 fix issue 11775 std.regex should check for valid repetition range 2013-12-19 22:02:37 +04:00
Dmitry Olshansky
66f2b67e4e fix issue 11770 std.regex.Captures should be convertible to bool 2013-12-19 21:46:29 +04:00
Dmitry Olshansky
3f6e9601d5 Fix issue 11762 - DDoc macro S_LINK 2013-12-19 00:53:43 +04:00
k-hara
29099f9894 fix Issue 11671 - ctRegex broken 2013-12-04 16:35:55 +09:00
Martin Nowak
fbaa4f826b Merge pull request #1734 from blackwhale/no-indirect
Tiny optimization for std.regex
2013-11-30 07:39:40 -08:00
monarch dodra
086d9bd34e Merge pull request #1733 from blackwhale/nice-templ-regex
Use the new template syntax in std.regex
2013-11-28 13:57:03 -08:00
monarch dodra
a419cd25ff Merge pull request #1732 from blackwhale/revert-wa-regex
[TRIVIAL] CTFE bug 9634 was fixed, remove the workaround
2013-11-28 13:56:14 -08:00
Dmitry Olshansky
52c35a6856 avoid calling delegates even in outer cycles, branch early, statically 2013-11-29 00:48:25 +04:00
Dmitry Olshansky
d27811a1d9 ctRegex is no experiment anymore 2013-11-29 00:34:45 +04:00
Dmitry Olshansky
924ddac4e6 Turn the venerable alias A B; to alias B = A; 2013-11-29 00:34:16 +04:00
Dmitry Olshansky
9719cfcc0a Modernize syntax: template(T)+enum --> enum(T) etc. 2013-11-29 00:24:07 +04:00
Dmitry Olshansky
3e22b63a8b CTFE bug 9634 was fixed, remove the workaround 2013-11-29 00:16:21 +04:00
Daniel Murphy
13f343334c Remove cases where an array is used in a boolean context 2013-11-27 18:23:07 +11:00
Dmitry Olshansky
d11d14628a fixup issue 11479 and enum --> auto in examples 2013-11-16 02:42:01 +04:00
Dmitry Olshansky
8f00475ef2 too tight constraint that has no use in private function
Fixes issue 1262
2013-10-15 23:51:32 +04:00
Dmitry Olshansky
4db73ce83a [DDoc] Put a proper description for std.regex.matchAll 2013-09-12 02:33:19 +04:00
monarch dodra
8e6bf693ac Merge pull request #1532 from blackwhale/fix-replace-check
Fix issue 10913 std.regex API regression
2013-09-08 08:39:10 -07:00
monarch dodra
60187c9d83 Merge pull request #1536 from lionello/bug10893
Fix issue 10893: added missing or renamed DDoc parameters
2013-09-08 08:37:19 -07:00
Dmitry Olshansky
99f466fee0 fix issue 10913 @safety of std.regex replace API 2013-09-07 01:48:46 +04:00
Lionello Lunesu
b4074054ba Fix issue 10893: added missing or renamed DDoc parameters (found by fix to 10236) 2013-08-31 15:36:29 +08:00
k-hara
fbb196c6d9 fix property enforcement 2013-08-29 11:02:52 +09:00
Dmitry Olshansky
c37a5d865a lookbehind for ctRegex 2013-08-26 12:34:24 +04:00
Dmitry Olshansky
33c08b2f0f fix broken indention, detab 2013-08-21 00:28:11 +04:00
Dmitry Olshansky
11827440aa cleanup to keep lookahead/lookbehind more in sync for future
Fix 64 bit issues, remove useless debug hook
2013-08-18 01:38:27 +04:00
Dmitry Olshansky
6e474e039f ditto with Thompson matcher 2013-08-18 01:32:35 +04:00
Dmitry Olshansky
d9eaf226ab backtracking matcher works with reversed bytecode 2013-08-18 01:32:17 +04:00
Dmitry Olshansky
a7b5756b13 do reverse of a bytecode in lookbehinds 2013-08-18 01:30:36 +04:00
Dmitry Olshansky
d8d08825d4 space around operators batch #3 2013-08-17 16:17:34 +04:00
Dmitry Olshansky
0f9f9c5f5f space around operators batch #2 2013-08-17 16:17:03 +04:00
Dmitry Olshansky
63fca02ec9 space around operators batch #1 2013-08-17 16:14:51 +04:00
Dmitry Olshansky
5896a2514f centralize escapables, kill "prefix comma continues a line" 2013-08-17 16:13:18 +04:00
Dmitry Olshansky
bf463a8b25 fix debugging versions, make them truly independent 2013-08-17 16:13:17 +04:00
Dmitry Olshansky
9ffbc167a7 address review comments 2013-08-16 23:39:52 +04:00
Dmitry Olshansky
558dba8dd4 Finalize new API, more examples
Also fix issue 9579.
2013-08-16 23:25:15 +04:00
Dmitry Olshansky
ec975cfca0 Freshen std.regex ddoc, plus link our regex article 2013-08-12 13:42:07 +04:00
Andrei Alexandrescu
ad43e1a41c Merge pull request #1459 from blackwhale/ctr-clean
cleanup std.regex CTFE hacks
2013-08-11 12:42:15 -07:00
Dmitry Olshansky
cb05620be8 safety of nested lookahead, enable all of R-T tests 2013-08-11 22:59:37 +04:00
Dmitry Olshansky
d939790ed5 Introduce lookahead for ctRegex 2013-08-11 22:59:36 +04:00
Dmitry Olshansky
c0919a36aa fix faulty multi-line logic of Eol in ctRegex
Also reduce the amount of tests to run to let auto-tester breath freely
Add versioned blocks to partition test-suite in compilable parts
2013-08-11 19:22:26 +04:00
Dmitry Olshansky
ac6450b139 catch the wrong test-case 2013-08-11 15:55:37 +04:00
Dmitry Olshansky
c8499d6e06 restore "multi-line" behaviour of '.' in ctRegex 2013-08-11 15:55:36 +04:00
Dmitry Olshansky
7134c5de95 enable ctRegex tests, fix 3 latent bugs
Bad codegen for Backreferences,
wrong trackers used for nested infinite loops
and even wrong code for '.'
2013-08-11 15:55:36 +04:00
Dmitry Olshansky
85276150e2 cleanup std.regex CTFE hacks, it's working as is now 2013-08-09 13:54:48 +04:00
Dmitry Olshansky
9a053d97c2 new std.uni module 2013-07-20 23:00:34 +04:00
Andrei Alexandrescu
73c8b59bb5 Merge pull request #1412 from Hackerpilot/master
Code cleanup
2013-07-19 15:37:56 -07:00
Martin Nowak
f7dc61cb62 missing throw 2013-07-17 19:37:52 +02:00
Hackerpilot
230a655850 More empty declarations 2013-07-13 19:38:36 +00:00
Hackerpilot
6f9c22bfa9 Merge remote-tracking branch 'upstream/master' 2013-07-13 19:37:11 +00:00