Explorar o código

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

Nicolas Petton %!s(int64=12) %!d(string=hai) anos
pai
achega
8eccdff129
Modificáronse 3 ficheiros con 228 adicións e 224 borrados
  1. 112 112
      js/Kernel-Collections.deploy.js
  2. 112 112
      js/Kernel-Collections.js
  3. 4 0
      st/Kernel-Collections.st

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 112 - 112
js/Kernel-Collections.deploy.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 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
 !

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio