Parcourir la source

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

Nicolas Petton il y a 12 ans
Parent
commit
8eccdff129
3 fichiers modifiés avec 228 ajouts et 224 suppressions
  1. 112 112
      js/Kernel-Collections.deploy.js
  2. 112 112
      js/Kernel-Collections.js
  3. 4 0
      st/Kernel-Collections.st

Fichier diff supprimé car celui-ci est trop grand
+ 112 - 112
js/Kernel-Collections.deploy.js


Fichier diff supprimé car celui-ci est trop grand
+ 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
 !

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff