TexyRegexp
class TexyRegexp
This file is part of the Texy! (http://texy.info) Copyright (c) 2004 David Grudl (https://davidgrudl.com)
Constants
ALL |
|
OFFSET_CAPTURE |
|
Methods
static array
split($subject, $pattern, $flags = 0)
Splits string by a regular expression.
static mixed
match($subject, $pattern, $flags = 0, $offset = 0)
Performs a regular expression match.
static string
replace($subject, $pattern, $replacement = NULL)
Perform a regular expression search and replace.
Details
at line 30
static array
split($subject, $pattern, $flags = 0)
Splits string by a regular expression.
at line 49
static mixed
match($subject, $pattern, $flags = 0, $offset = 0)
Performs a regular expression match.
at line 77
static string
replace($subject, $pattern, $replacement = NULL)
Perform a regular expression search and replace.