Sfoglia il codice sorgente

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

Nicolas Petton 12 anni fa
parent
commit
8eccdff129
3 ha cambiato i file con 228 aggiunte e 224 eliminazioni
  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