aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-07-02 09:34:02 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-07-15 08:27:17 +0200
commit2430b1676a87898abe74f6614a9a837ee96acfc6 (patch)
tree64e0b44ab44c015d4aa49a3c96c7034e26603bc7
parentec8c9b9db723ad2862beaadab7019403afad5dc6 (diff)
downloadUstring-2430b1676a87898abe74f6614a9a837ee96acfc6.zip
Ustring-2430b1676a87898abe74f6614a9a837ee96acfc6.tar.gz
Ustring-2430b1676a87898abe74f6614a9a837ee96acfc6.tar.bz2
Change regex delimiter. #mania
-rw-r--r--String.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/String.php b/String.php
index 916b681..09daaf9 100644
--- a/String.php
+++ b/String.php
@@ -724,7 +724,7 @@ class String implements \ArrayAccess, \Countable, \IteratorAggregate {
*/
public static function isUtf8 ( $string ) {
- return (bool) preg_match('//u', $string);
+ return (bool) preg_match('##u', $string);
}
/**