A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-June/015413.html below:

[Python-Dev] sre improvements

[Python-Dev] sre improvements [Python-Dev] sre improvementsFredrik Lundh fredrik@pythonware.com
Wed, 13 Jun 2001 18:32:13 +0200
skip wrote:

>     Gustavo> I'd like, for example, to see the (?(1)blah) operator,
>     Gustavo> available in perl, working.
> 
> For the non-Perl-heads on the list, can you explain what the (?(1)blah)
> operator does?

conditionals:

    (?(cond)true)
    (?(cond)true|false)

where cond is a group number (true if defined) or an assertion
pattern, and true/false are patterns.

(imo, whoever invented that needs help ;-)

</F>




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4