We must not stop scanning after finding a "?", because we
need the information regarding the "#".
-/* Generated by re2c 0.5 on Sun Sep 9 16:51:59 2001 */
-#line 1 "url_scanner_ex.re"
+/* Generated by re2c 0.5 on Mon Sep 10 13:21:04 2001 */
+#line 1 "/home/sas/src/php4/ext/standard/url_scanner_ex.re"
/*
+----------------------------------------------------------------------+
| PHP version 4.0 |
yy4: yych = *++YYCURSOR;
yy5:
#line 110
- { sep = separator; goto done; }
+ { sep = separator; goto scan; }
yy6: yych = *++YYCURSOR;
yy7:
#line 111
scan:
/*!re2c
":" { smart_str_append(dest, url); return; }
- "?" { sep = separator; goto done; }
+ "?" { sep = separator; goto scan; }
"#" { bash = p - 1; goto done; }
(any\[:?#])+ { goto scan; }
*/