mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-15 15:09:51 +01:00
another patch by Peter. some WS.
This commit is contained in:
@@ -38,7 +38,8 @@
|
||||
</informaltable>
|
||||
<para>
|
||||
A regular expression search and replace on a variable. Use the
|
||||
syntax for preg_replace() from the PHP manual.
|
||||
syntax for <ulink
|
||||
url="&url.php-manual;preg_replace">preg_replace()</ulink> from the PHP manual.
|
||||
</para>
|
||||
<example>
|
||||
<title>regex_replace</title>
|
||||
@@ -75,7 +76,12 @@ Infertility unlikely to be passed on, experts say.
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</sect1>
|
||||
<para>
|
||||
See also <link linkend="language.modifier.replace">replace</link>
|
||||
and <link linkend="language.modifier.escape">escape</link>.
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -95,4 +101,4 @@ End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
-->
|
||||
|
||||
Reference in New Issue
Block a user