Commit graph

173 commits

Author SHA1 Message Date
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
Hackerpilot
ae1dcaa3e1 Removed empty declarations. Converted more C-style array declarations to D-style. Removed trailing whitespace 2013-07-13 19:34:37 +00:00
Laurie Clark-Michalek
c76de6191f Added namedGroups property to Regex struct.
Extended NamedGroupRange to be a random access and forward range, and added length memeber.

Changed name of namedGroups property to namedCaptures
2013-07-03 19:39:47 +04:00
k-hara
03a32d6fa4 Fix issue 313 & 314 2013-06-25 08:38:30 +09:00
Andrei Alexandrescu
db7e325f6d Merge pull request #1290 from blackwhale/regex-9634
Workaround issue 9634
2013-06-07 10:53:51 -07:00
Dmitry Olshansky
ed349e1a51 workaround issue 9634 2013-05-13 10:25:05 +04:00
Diggory Blake
76435b2d66 Removed unused stream abstraction 2013-05-06 18:39:03 +01:00
Diggory Blake
752cccd34d Remove unnecessary default arguments 2013-04-28 18:22:03 +01:00
Diggory Blake
937800be34 Fixed a bunch of off-by-one errors in the regex code 2013-04-24 23:55:55 +01:00
Diggory Blake
5b808e575e Fixed regex loop-back stream to start from the correct position 2013-04-24 00:19:41 +01:00
Dmitry Olshansky
be25fd00b1 fix Issue 9280
A bug in _ctfe branch that was introduced while stubbing out non-CTFeable blocks.
Now CTFE is having more power and able to run the same code just fine!
2013-03-10 13:03:00 +04:00
Dmitry Olshansky
09b5e109a8 even more spaces around operators 2013-02-23 15:59:24 +04:00
Dmitry Olshansky
f8e3bbe838 try to unify code style to use spaces between operators 2013-02-23 15:56:41 +04:00
Dmitry Olshansky
a91b866790 an awful typo in std.regex; fix issue 9512 2013-02-18 19:01:05 +04:00
Jonathan M Davis
556c42a17b Merge pull request #1134 from timotheecour/master
missing space in assert message
2013-02-11 16:52:03 -08:00
timotheecour
7244ea276d Update std/regex.d 2013-02-11 14:41:31 -08:00
Dmitry Olshansky
15879f4698 [style] reindent 2012-12-29 18:11:51 +04:00