--- a/CharacterArray.st Mon Jul 18 15:49:39 2011 +0200
+++ b/CharacterArray.st Mon Jul 18 15:51:52 2011 +0200
@@ -4156,79 +4156,6 @@
! !
-!CharacterArray methodsFor:'matching - regex'!
-
-hasAnyRegexMatches: rxString
- "return true, if any substrings in the receiver, matches the regular expression in rxString"
-
- rxString asRegex matchesIn:self do:[:m | ^ true].
- ^ false
-
- "
- '1234 abcd 3456 defg' hasAnyRegexMatches:'[0-9]+'
- 'abcd 3456 defg' hasAnyRegexMatches:'[0-9]+'
- 'abcd xxax defg' hasAnyRegexMatches:'[0-9]+'
- "
-
- "Created: / 13-08-2010 / 17:09:05 / sr"
-!
-
-hasAnyRegexMatches: rxString ignoringCase:aBoolean
- "return true, if any substrings in the receiver, matches the regular expression in rxString"
-
- aBoolean ifTrue:[
- ^ self hasAnyRegexMatchesIgnoringCase: rxString
- ] ifFalse:[
- ^ self hasAnyRegexMatches: rxString
- ].
-
- "
- '1234 abcd 3456 defg' hasAnyRegexMatches:'[0-9]+'
- 'abcd 3456 defg' hasAnyRegexMatches:'[0-9]+'
- 'abcd xxax defg' hasAnyRegexMatches:'[0-9]+'
- 'arith [arc]' hasAnyRegexMatches:'(ab)+'
- 'arith [arc]' hasAnyRegexMatches:'(ab)*'
- "
-
- "Created: / 13-12-2010 / 11:03:05 / cg"
-!
-
-hasAnyRegexMatchesIgnoringCase: rxString
- "return true, if any substrings in the receiver, matches the regular expression in rxString"
-
- rxString asRegexIgnoringCase matchesIn:self do:[:m | ^ true].
- ^ false
-
- "
- 'ABCD XYZ DEFG' hasAnyRegexMatchesIgnoringCase:'[a-z]+'
- 'ABCD XYZ DEFG' hasAnyRegexMatches:'[a-z]+'
-
- '1234 abcd 3456 defg' hasAnyRegexMatchesIgnoringCase:'[a-z]+'
- 'abcd 3456 defg' hasAnyRegexMatchesIgnoringCase:'[a-z]+'
- "
-
- "Created: / 13-08-2010 / 17:11:11 / sr"
-!
-
-matchesRegex:regexString ignoringCase:aBoolean
- "Test if the receiver matches a regex.
- May raise RxParser>>regexErrorSignal or child signals.
- This is a part of the Regular Expression Matcher package,
- (c) 1996, 1999 Vassili Bykov.
- Refer to `documentation' protocol of RxParser class for details."
-
- aBoolean ifTrue:[
- ^ self matchesRegexIgnoringCase:regexString
- ] ifFalse:[
- ^ self matchesRegex:regexString
- ].
-
- "
- 'hello world' matchesRegex:'h.*d'.
- "
-
- "Created: / 13-12-2010 / 11:01:49 / cg"
-! !
!CharacterArray methodsFor:'padded copying'!
@@ -5927,11 +5854,11 @@
!CharacterArray class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.454 2011-07-18 13:49:39 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.455 2011-07-18 13:51:52 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.454 2011-07-18 13:49:39 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.455 2011-07-18 13:51:52 cg Exp $'
! !
CharacterArray initialize!