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
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
Dmitry Olshansky
3088d2fc6f
[style] various fixes found during review
2012-12-28 19:32:30 +04:00
Dmitry Olshansky
4a08974927
fix issue 9211
...
A leftover from semantically incorrect optimization in std.regex
2012-12-27 22:31:19 +04:00
jmdavis
74f8c844fe
Revert "Add alias opDollar
and use $ in range slicing"
...
This reverts commit 07104b5fe6
.
As we cannot currenly rely on even ranges with slicing implementing
opDollar, this change breaks code, because it assumes that such ranges
implement opDollar.
2012-12-09 17:21:37 -08:00
cjoan
066a263fcd
Editing std.regex docs.
...
AKA shameless pedantry.
2012-12-09 19:46:45 -05:00
Andrei Alexandrescu
8953d521ce
Merge pull request #979 from 9rnsr/use_opDollar
...
Add `alias opDollar` and use $ in range slicing
2012-12-08 20:11:25 -08:00
k-hara
07104b5fe6
Add alias opDollar
and use $ in range slicing
2012-12-05 10:13:17 +09:00
k-hara
7062ce191a
fix Issue 2486 - taking address of slice rvalue is valid
2012-12-03 14:40:24 +09:00
Dmitry Olshansky
0f2947d4d1
bugfixes for compile-time regex
...
fix issue 8725
fix issue 8349
2012-12-01 00:37:32 +04:00
k-hara
01df2f60be
Remove redundant parenthesis for getters, and use assignment syntax for setters
2012-11-23 15:07:17 +09:00
k-hara
28dedee456
Issue 7444 - Require [] for array copies too
2012-11-20 17:55:21 +09:00
Roy Crihfield
c69ae5b662
Added ^$ to special characters list.
2012-10-31 11:55:24 -04:00
Miles
bdfcf80b82
Update std/regex.d
...
Very minor edit: should use 'losing' instead of 'loosing'.
2012-10-02 11:25:24 -07:00
Hara Kenji
cee5e7b78f
Merge pull request #783 from blackwhale/depure-enforce
...
Let enforce rely on deduced purity & safety
2012-09-14 19:11:57 -07:00
Dmitry Olshansky
7714a9c42e
Fix issue 8637
...
Compiler can and should deduce purity of templates
2012-09-11 11:31:29 +04:00
monarchdodra
f0e7cfba7c
Adding source link
2012-09-10 23:56:42 +03:00
Dmitry Olshansky
245782bb63
unittest for bug 8203
2012-06-08 01:33:56 +04:00
Dmitry Olshansky
0c35fcd694
fix Issue 8203
...
Change RegexMatch objects to follow proper COW semantics
2012-06-07 19:22:20 +04:00
k-hara
75b709bf28
Tweak by Dmitry Olshansky's comment.
2012-05-31 20:55:03 +09:00
k-hara
72a33de959
Replace object.clear to destroy
2012-05-31 19:27:52 +09:00
Graham Fawcett
4aae62cb95
std/regex.d: fix typo in documentation (occurrence)
2012-05-22 17:12:47 -03:00
Brad Roberts
81301fb0ea
Merge pull request #543 from CyberShadow/patch-2
...
std.regex: Fix math in replace example
2012-05-13 16:54:47 -07:00
Dmitry Olshansky
6c9414c8c9
fix Issue 7962 Captures.length() returns incorrect value
2012-04-22 01:05:37 +04:00
Vladimir Panteleev
f25f1f7f41
std.regex: Fix math in replace example
...
Not only was the sum of two numbers incorrect, but the replace
operation seemingly added 100 to the result as well ;)
2012-04-18 18:51:03 +03:00