Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Expose
Converter
ConvertJS
convertJSRegexModifiers
Expose\Converter\ConvertJS::convertJSRegexModifiers PHP Method
ConvertJS Class Documentation
Show file
Open project: enygma/expose
convertJSRegexModifiers()
public
method
Eliminate JS regex modifiers
public
convertJSRegexModifiers
(
string
$value
) :
string
$value
string
the value to convert
return
string
public function convertJSRegexModifiers($value) { return preg_replace('/\\/[gim]+/', '/', $value); }
ConvertJS
convertFromJSCharcode
convertFromJSUnicode
convertJSRegexModifiers