--- a/CharacterArray.st Wed Sep 28 13:46:37 2011 +0100
+++ b/CharacterArray.st Wed Sep 28 20:07:49 2011 +0100
@@ -4193,79 +4193,7 @@
! !
-!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'!
centerPaddedTo:newSize
@@ -4787,6 +4715,7 @@
"Modified: 17.4.1997 / 12:50:23 / cg"
! !
+
!CharacterArray methodsFor:'special string converting'!
expandPlaceholdersWith:argArrayOrDictionary
@@ -5962,15 +5891,15 @@
!CharacterArray class methodsFor:'documentation'!
version
- ^ '$Id: CharacterArray.st 10686 2011-09-07 16:25:40Z vranyj1 $'
+ ^ '$Id: CharacterArray.st 10695 2011-09-28 19:07:49Z vranyj1 $'
!
version_CVS
- ^ '§Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.460 2011/09/05 21:18:04 cg Exp §'
+ ^ '§Â§Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.460 2011/09/05 21:18:04 cg Exp §§'
+!
+
+version_SVN
+ ^ '$Id: CharacterArray.st 10695 2011-09-28 19:07:49Z vranyj1 $'
! !
CharacterArray initialize!
-
-
-
-