瀏覽代碼

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

Nicolas Petton 12 年之前
父節點
當前提交
8eccdff129
共有 3 個文件被更改,包括 228 次插入224 次删除
  1. 112 112
      js/Kernel-Collections.deploy.js
  2. 112 112
      js/Kernel-Collections.js
  3. 4 0
      st/Kernel-Collections.st

文件差異過大導致無法顯示
+ 112 - 112
js/Kernel-Collections.deploy.js


文件差異過大導致無法顯示
+ 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
 !

部分文件因文件數量過多而無法顯示