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
Nick Treleaven
391dcd1a67
Use 'any character except' instead of 'any character but'
2012-03-30 17:44:25 +01:00
Nick Treleaven
5dba234be2
Minor doc fixes for main description of std.regex
...
These include spelling, typos, usual english/flow and some space
alignment. Add missing 'a' or 'the' where necessary.
Add 'but no more than m times' to the description for {n,m}
quantifier, to differentiate from {n,} description.
Add a 'Slicing' heading to separate the Unicode and returning slices
sections.
2012-03-30 17:44:24 +01:00
Dmitry Olshansky
88ecf28752
fix Issue 7718 - regex and ctRegex produce different results
...
also fix unittest in std.range
2012-03-23 12:17:36 +04:00
Dmitry Olshansky
34683e4afb
apply code review suggestions, extending SortedRange
2012-03-23 12:17:31 +04:00
Dmitry Olshansky
abe9cb5861
add missing unittest for issue 7300
2012-03-23 12:17:25 +04:00
Dmitry Olshansky
e53e6d64e9
fix Issue 7300 - std.regex.ShiftOr!dchar.search is broken
...
Rework problematic memchr codepath to properly test for end of string. More importantly it's overall cleaner.
2012-03-23 12:17:23 +04:00
Dmitry Olshansky
ba5eecf086
clean up CTFE, workarounds--
2012-03-23 12:17:20 +04:00
Dmitry Olshansky
05c142b802
Add fixed caching results of regex
2012-03-23 12:17:17 +04:00
Dmitry Olshansky
097faaca84
fix Issue 7674 - regex replace requires escaped format
...
Kill unnecessary escaping in replace format string.
2012-03-17 21:41:25 +04:00
David Simcha
8ed20feaf7
Merge pull request #481 from blackwhale/regex-fix-parser
...
fix unreported bug in std.regex parser
2012-03-15 19:13:48 -07:00
Dmitry Olshansky
9ce1020904
fix Issue 7679 - std.regex.split and splitter don't work w/ ctRegex
2012-03-15 12:20:57 +04:00
David Simcha
6d782c6efd
Merge pull request #491 from blackwhale/issue-1772
...
fix Issue 1772 - regexp.split behavior with captures needs to be documen...
2012-03-14 18:45:52 -07:00
Dmitry Olshansky
62b464b48d
fix Issue 1772 - regexp.split behavior with captures needs to be documented
...
A documentation clarification, the report itself is largely outdated.
2012-03-12 14:26:51 +04:00
Vladimir Panteleev
7d493bdfe6
std.regex: Fix unicode.org link in DDoc
2012-03-08 22:51:06 -08:00
Dmitry Olshansky
9d91c1e7fb
fix unreported bug in std.regex parser
...
lookaround opcodes have size > 1, that was not accounted for in IR generation for naked | option.
2012-03-06 19:56:06 +04:00
Dmitry Olshansky
4fe48d2608
Fix issue 7111 - New regex engine cannot match beginning of empty string
...
Also added some missing bugs in a changelog, including old regex reports.
2012-02-25 00:52:12 +04:00
Brad Anderson
4b17d07b8e
Just an adorable little typo I noticed in std.regex's documentation.
2012-02-23 01:42:23 -07:00
Dmitry Olshansky
cd34afb1c5
amend std.regex parser fix
2012-02-07 19:51:13 +04:00
Andrei Alexandrescu
e859e40a17
Merge pull request #377 from NilsBossung/bugzilla7141
...
fix bugzilla issue 7141
2012-02-05 09:18:13 -08:00
dawg
a890f084c5
std.regex.Captures is public
...
- Note std.regex use a global "private:" and a whitelist of public symbols.
2012-01-31 21:40:08 +01:00
Nils Boßung
020840015d
Merge branch 'master' of git://github.com/D-Programming-Language/phobos into bugzilla7141
...
Conflicts:
std/regex.d
2012-01-21 11:08:46 +01:00
Walter Bright
380ae65511
remove empty statements
2011-12-29 00:05:45 -08:00
Nils Boßung
2816207cda
do not look at -last- to test for operators
2011-12-20 13:29:06 +01: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