samedi 27 juin 2015

python regular expression in searching pattern

In Python ,I have pattern as

MY_PATTERN='[^\\\\]*\\\\\\w{0,4}First\\\\.+\\.\\w{3}|[^\\\\]*\\\\\\w{0,4}Second\\\\.+\\w{3}'

I use this pattern to search in my string.

Here What all strings the pattern matches in this case?

Aucun commentaire:

Enregistrer un commentaire