projects
/
lifetype
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
720491c
)
add credits
author
Alexandros C. Couloumbis
<alex@ozo.com>
Wed, 27 Nov 2019 16:07:25 +0000
(18:07 +0200)
committer
Alexandros Couloumbis
<alex@ozo.com>
Wed, 27 Nov 2019 17:25:34 +0000
(19:25 +0200)
class/data/preg_wrapper.php
patch
|
blob
|
history
diff --git
a/class/data/preg_wrapper.php
b/class/data/preg_wrapper.php
index e90dfd8dbc12cbb22073a93423cbd4e048b6e168..3d9fbd9b50c0332c898ec96587b66bd44b67289f 100644
(file)
--- a/
class/data/preg_wrapper.php
+++ b/
class/data/preg_wrapper.php
@@
-1,5
+1,9
@@
<?php
+ /**
+ * https://github.com/lastwhitebird/preg_replace_e
+ */
+
function is_evaled_preg($str)
{
if (!preg_match('~([a-z]+)$~i', $str, $ext))