Module: sip-router
Branch: ibc/regex
Commit: e750f003f423e169a91d62f42d12da2c6675a700
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e750f00…
Author: Iñaki Baz Castillo <ibc(a)aliax.net>
Committer: Iñaki Baz Castillo <ibc(a)aliax.net>
Date: Wed Feb 23 01:32:12 2011 +0100
module regex: minor fix in documentation.
---
modules_k/regex/doc/regex_admin.xml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules_k/regex/doc/regex_admin.xml b/modules_k/regex/doc/regex_admin.xml
index 979697f..5bcd77a 100644
--- a/modules_k/regex/doc/regex_admin.xml
+++ b/modules_k/regex/doc/regex_admin.xml
@@ -345,12 +345,12 @@ if (pcre_match_group("$rU", "2")) {
<function>pcre_match_group</function> usage (using a pseudo-variable as
group)
</title>
<programlisting format="linespecific">
- ...
- $avp(i:10) = 5; # Maybe got from a DB query.
- if (pcre_match_group("$ua", "$avp(i:10)")) {
- xlog("L_INFO", "User-Agent matches group 5\n");
- }
- ...
+...
+$avp(i:10) = 5; # Maybe got from a DB query.
+if (pcre_match_group("$ua", "$avp(i:10)")) {
+ xlog("L_INFO", "User-Agent matches group 5\n");
+}
+...
</programlisting>
</example>