[Linux-aus] python regex

Nick Edwards nick.z.edwards at gmail.com
Wed Oct 9 13:22:46 EST 2013


neither of them work, oh well, never mind, we are looking at a perl
alternative that actually works, at present


On 10/8/13, Cameron Simpson <cs at zip.com.au> wrote:
> On 08Oct2013 07:15, Daniel Black <daniel.subs at internode.on.net> wrote:
> | On 07/10/13 18:55, Nick Edwards wrote:
> | > On 10/7/13, Daniel Black <daniel.subs at internode.on.net> wrote:
> | > what I am after is a python regex that matches on   "" or "foo"
> |
> | (|foo)
>
> Also:
>
>   (foo)?
>
> though I also would have used the first version.
>
> Cheers,
> --
> Cameron Simpson <cs at zip.com.au>
>
> Everything that can be invented has been invented.
>         - Charles H. Duell, Commissioner, U.S. Office of Patents, 1899.
>
> _______________________________________________
> linux-aus mailing list
> linux-aus at lists.linux.org.au
> http://lists.linux.org.au/listinfo/linux-aus
>



More information about the linux-aus mailing list