Walter Bright
380ae65511
remove empty statements
2011-12-29 00:05:45 -08:00
Dmitry Olshansky
834d865172
more stuff and tests on escapes in character classes
2011-12-14 02:43:55 +04:00
Dmitry Olshansky
59d3f35cdc
another tweak for escapes in character classes
2011-12-13 16:14:31 +04:00
Dmitry Olshansky
bb2851b8e7
comma also could be considered as special
2011-12-12 16:46:45 +04:00
Dmitry Olshansky
27cc7722fc
fix escape syntax to that of regular-expression.info
2011-12-12 15:13:56 +04:00
David Nadlinger
e312f9898b
Strict @property syntax compliance.
...
This enables the test suite to build with the -property switch enabled.
std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
Dmitry Olshansky
6e7c54f4d3
Missing assert with the same alignment check
2011-11-28 00:06:13 +04:00
Dmitry Olshansky
d1be62eab5
More conservative alignment check in ShiftOr
2011-11-27 14:15:45 +04:00
Dmitry Olshansky
eb4bd2bc73
std.regex: assertion on wrong escapes inside []
...
also enable extra test in std.internal.uni
2011-11-27 13:45:15 +04:00
Richard Webb
caa43790d7
add missing import of std.stdio
2011-11-24 18:29:53 +00:00
Dmitry Olshansky
f25319b3b0
replace std.regex with FReD
2011-11-01 01:15:51 +04:00
Brad Roberts
364a349f07
revert removal of import.stdio, it's needed by parts of std.regex
2011-10-22 22:04:32 -07:00
Brad Roberts
4b9c74b6ea
reduce another import (only needed for tests)
2011-10-02 23:59:15 -07:00
Dmitry Olshansky
a22f73bccb
remove special casing of .*
2011-08-23 15:52:28 +04:00
Dmitry Olshansky
f5422a8f4b
Merge branch 'master' of https://github.com/D-Programming-Language/phobos
2011-07-13 17:01:06 +04:00
Dmitry Olshansky
571e2653bf
minor enhancements for std.regex fix
2011-07-07 15:53:51 +04:00
Dmitry Olshansky
15b5d23b07
std.regex issue 6261
2011-07-07 02:16:10 +04:00
jmdavis
7de549c1fa
Merged master into branch with changes to std.string.
...
Conflicts:
changelog.dd
std/array.d
2011-06-22 21:38:17 -07:00
jmdavis
0ca76972fe
Renamed toUniLower and toUniUpper to toLower and toUpper.
...
toUniLower and toUniUpper are now scheduled for deprecation.
2011-06-22 20:34:08 -07:00
jmdavis
15fb65f1bb
Reverted toAsciiLower and toAsciiUpper to toLower and toUpper.
2011-06-22 19:22:27 -07:00
jmdavis
25b755a843
Reverted isAsciiWhite to isWhite.
2011-06-22 19:20:15 -07:00
jmdavis
34bce538ce
Reverted isAsciiLower and isAsciiUpper to isLower and isUpper.
2011-06-22 19:13:45 -07:00
jmdavis
2d310e5e20
Changed the names of some of the std.ascii functions.
...
isWhite, isLower, isUpper, toLower, and toUpper now have Ascii in their
name, which matches what std.unit does with its versions of those
functions. Hopefully, it should also reduce bugs due to using the wrong
function between the ASCII and unicode versions by making the difference
more obvious.
2011-06-19 18:41:00 -07:00
jmdavis
dd3a0c20a2
Created std.ascii to replace std.ctype.
...
All of the new, properly camelcased functions in std.ctype have been
moved to std.ascii, and std.ctype has been scheduled for deprecation.
2011-06-14 04:06:54 -07:00
jmdavis
30069ea6f0
Replaced calls to std.string and std.ctype's toupper with their toUpper counterparts.
2011-06-12 16:59:52 -07:00
jmdavis
d10ee6c2f6
Replaced calls to std.ctype.islower with isLower.
2011-06-12 16:59:51 -07:00
jmdavis
19ae2b4998
Replace calls to std.ctype.isdigt with std.ctype.isDigit.
2011-06-12 16:59:51 -07:00
jmdavis
3d3c342a69
Replaced calls to std.ctype.isalnum and std.ctype.isalpha.
2011-06-12 16:59:50 -07:00
jmdavis
76e1cfd2e9
Replaced calls to std.ctype.isspace with std.ctype.isWhite.
...
In a few places, I replaced it with std.uni.isUniWhite, but for the most
part, I replaced it with std.ctype.isWhite.
2011-06-12 16:59:50 -07:00
Dmitry Olshansky
a54e84e4a9
Schedule all listDir for deprecation
2011-06-10 15:04:25 +04:00
Walter Bright
5a517b0095
remove case fallthrough
2011-06-03 19:41:52 -07:00
Dmitry Olshansky
c7be162d96
a couple of minor fixes.
2011-05-31 21:52:53 +04:00
blackwhale
9afb00e36b
Fix .* optimization, set initial stack to 32Kb, changelog
2011-05-30 00:55:01 +04:00
blackwhale
a4cf6d203b
strideBack. make all strides work with mutable strings. style.
2011-05-27 17:21:18 +04:00
blackwhale
60f2b4bafb
memcpy -> array ops, kill junk, fix latent bug in backtrack.
2011-05-27 16:22:27 +04:00
blackwhale
8420ae1b94
Style and spaces. Make compiler happy on linux.
2011-05-13 11:58:35 +04:00
blackwhale
bd8004b418
Reduce memory usage. Fix style & cleanup
2011-05-13 02:07:44 +04:00
blackwhale
535875fa56
Correct counter allocation & optimization
2011-05-13 00:05:21 +04:00
blackwhale
9dd711e379
Restore some optimizations, but only when they are correct.
...
64bit issues & cleanup.
2011-05-11 22:39:45 +04:00
blackwhale
2c590dc3ba
Merge branch 'master' of https://github.com/blackwhale/phobos
...
Conflicts:
std/regex.d
2011-05-11 03:25:06 +04:00
blackwhale
c3ec6b2387
Revamped repetitions, properly fixes all related problems.
...
Cleanup of control flow, minor fixes.
2011-05-11 03:01:40 +04:00
blackwhale
1e27f85b06
Revamp groups: matching subpattern can't be isolated in general
2011-05-10 12:47:07 +04:00
blackwhale
da4a902341
Issue 4574, empty match advances the input.
2011-05-10 11:13:36 +04:00
blackwhale
b47108090c
Restore style, fix some minor issues.
2011-04-25 11:20:31 +04:00
blackwhale
b68db97306
Issue 4367: Captures is not a random access range
2011-04-20 15:40:06 +04:00
blackwhale
d5c2cb1ea0
Issue 4574, empty match advances the input.
2011-04-20 14:38:57 +04:00
blackwhale
88965d3bcd
Restore special case optimization for .*,extending it to .+ and .{n,m}.
2011-04-19 17:09:55 +04:00
blackwhale
ffe3221177
Cleanup the aftermath.
2011-04-19 15:41:36 +04:00
blackwhale
7eb40af8be
Quick fix for greediness issue 2108.
...
Also fixing the bug the size of an elephant (issue 5857).
2011-04-19 00:57:19 +04:00
blackwhale
548fc66543
missed debugging one writef
2011-04-11 17:11:14 +04:00