Browse Source

String>>matchesOf: implementation (see issue #162)

Nicolas Petton 12 years ago
parent
commit
8eccdff129
3 changed files with 228 additions and 224 deletions
  1. 112 112
      js/Kernel-Collections.deploy.js
  2. 112 112
      js/Kernel-Collections.js
  3. 4 0
      st/Kernel-Collections.st

File diff suppressed because it is too large
+ 112 - 112
js/Kernel-Collections.deploy.js


File diff suppressed because it is too large
+ 112 - 112
js/Kernel-Collections.js


+ 4 - 0
st/Kernel-Collections.st

@@ -1062,6 +1062,10 @@ match: aRegexp
 	<return self.search(aRegexp) !!= -1>
 !
 
+matchesOf: aRegularExpression
+      <return self.match(aRegularExpression)>
+!
+
 replace: aString with: anotherString
 	^self replaceRegexp: (RegularExpression fromString: aString flag: 'g') with: anotherString
 !

Some files were not shown because too many files changed in this diff