Browse Source

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

Nicolas Petton 12 năm trước cách đây
mục cha
commit
8eccdff129
3 tập tin đã thay đổi với 228 bổ sung224 xóa
  1. 112 112
      js/Kernel-Collections.deploy.js
  2. 112 112
      js/Kernel-Collections.js
  3. 4 0
      st/Kernel-Collections.st

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 112 - 112
js/Kernel-Collections.deploy.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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
 !

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác