Date: 12/20/99
- Next message: Shane Owenby: "Re: [PHP-DEV] cvs: /php3 configure.in"
- Previous message: cmiller <email protected>: "[PHP-DEV] Bug #3014: octal character versus regex backreferences"
- In reply to: cmiller <email protected>: "[PHP-DEV] Bug #3014: octal character versus regex backreferences"
- Next in thread: Chad Miller: "[PHP-DEV] backrefs in ereg() and preg_match() (was Bug #3014)"
- Reply: Chad Miller: "[PHP-DEV] backrefs in ereg() and preg_match() (was Bug #3014)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
cmiller <email protected> wrote:
>
> From: cmiller <email protected>
> Operating system: any
> PHP version: 3.0 Latest CVS (20/12/1999)
> PHP Bug Type: Feature/Change Request
> Bug description: octal character versus regex backreferences
>
> ereg("fla(r[gpm]) wobba\1", $foo)
>
> Note the ``\1'' -- is that an octal 1 in my charset, or a backreference?
>
> The backslash-x-number notation is great for hexidecimal, but the backslash-number notation conflicts with the notation for backreferences (in ereg(), e.g.)
>
> Are there backreferences? The manual refers us to the regex(7) manpage, which does describe them.
\\n is used for back-references.
--ev
---------------------------- Evan Klinger evan <email protected> AIM evan715
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Shane Owenby: "Re: [PHP-DEV] cvs: /php3 configure.in"
- Previous message: cmiller <email protected>: "[PHP-DEV] Bug #3014: octal character versus regex backreferences"
- In reply to: cmiller <email protected>: "[PHP-DEV] Bug #3014: octal character versus regex backreferences"
- Next in thread: Chad Miller: "[PHP-DEV] backrefs in ereg() and preg_match() (was Bug #3014)"
- Reply: Chad Miller: "[PHP-DEV] backrefs in ereg() and preg_match() (was Bug #3014)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

