1
LazyBadger
One question and possibly request for smaty-modifier

I read docs about regex_replace and referenced PHP's preg_replace(), but can't be sure if I understand all correctly.
Thus,
1 - Question
Can I use backreferences in regex_replace's searh string and parameters, something like
|regex_replace:"/.*\W(\w+)$/":"$1"
(extract in this case last word from a string)

2. Can anybody write modifier of function, which perform regex_extract with possibilities to use subpatterns?
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

2
LazyBadger
Re: One question and possibly request for smaty-modifier

?
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

3
LazyBadger
Re: One question and possibly request for smaty-modifier

??
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

4
LazyBadger
Re: One question and possibly request for smaty-modifier

???
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

5
LazyBadger
Re: One question and possibly request for smaty-modifier

????
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

6
LazyBadger
Re: One question and possibly request for smaty-modifier

?????
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

Login

Who's Online

159 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits