Re: [PHP] re regex error

2007-03-14 Thread Jim Lucas
jekillen wrote: Hello again; Regarding the error I was inquiring about: Warning: ereg() [function.ereg]: REG_ERANGE in _proc.php on line 81 I still would like to know what it means but I solved the script problem. I found that since $groups is a string that was exploded to form the $g_lis

[PHP] re regex error

2007-03-14 Thread jekillen
Hello again; Regarding the error I was inquiring about: Warning: ereg() [function.ereg]: REG_ERANGE in _proc.php on line 81 I still would like to know what it means but I solved the script problem. I found that since $groups is a string that was exploded to form the $g_list array it may ha

[PHP] Re: Regex error

2007-03-14 Thread Al
Get The Regex Coach http://weitz.de/regex-coach/ Use preg_match_all() Build your pattern one step at a time using the coach. Don't forget the delimiters. jekillen wrote: Hello; The following regex: ereg("id='$m[1]'>", $groups, $m1); is causing the following error: Warning: ereg() [functi