Permalink
Browse files

new commit match added Wed Sep 26 15:39:27 GMT 2012

  • Loading branch information...
1 parent 238ed8f commit 33fbb5f80f7953acf28cb45e29af4d1062b3ba1b @Mparaiso committed Sep 26, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 String/String.php
View
7 String/String.php
@@ -21,6 +21,13 @@ function _concat($value){
return $this.$value;
}
+ function _match($pattern){
+ $result = array();
+ preg_match_all($pattern, $this->value, $result);
+ return $result;
+
+ }
+
/**
* Returns the numeric Unicode value
* of the character at the given index

0 comments on commit 33fbb5f

Please sign in to comment.