diff --git a/functions/regex.xml b/functions/regex.xml index c29358dbd8..0fe491c5c3 100644 --- a/functions/regex.xml +++ b/functions/regex.xml @@ -1,5 +1,5 @@ - + Regular Expression Functions (POSIX Extended) Regexps @@ -377,7 +377,7 @@ list($user,$pass,$uid,$gid,$extra)= split (":", $passwd_line, 5); - + If there are n occurrences of pattern, the returned array will contain @@ -386,7 +386,7 @@ list($user,$pass,$uid,$gid,$extra)= split (":", $passwd_line, 5); only one element will be returned. Of course, this is also true if string is empty. - + To parse a date which may be delimited with slashes, dots, or hyphens: diff --git a/functions/var.xml b/functions/var.xml index 45c32d8851..a801ed9723 100644 --- a/functions/var.xml +++ b/functions/var.xml @@ -1,5 +1,5 @@ - + Variable Functions Variables @@ -474,13 +474,13 @@ import_request_variables("gP", "rvar_"); Returns &true; if var is a float, &false; otherwise. - + To test if a variable is a number or a numeric string (such as form input, which is always a string), you must use is_numeric. - + See also is_bool, @@ -509,13 +509,13 @@ import_request_variables("gP", "rvar_"); Returns &true; if var is an integer &false; otherwise. - + To test if a variable is a number or a numeric string (such as form input, which is always a string), you must use is_numeric. - + See also is_bool, is_float,