1. Home
  2. Computing & Technology
  3. Python

Python Regular Expressions (regex): The Regex Name Tag ('(?P<name>...)')

From Al Lukaszewski, for About.com

Definition:

This formula gives a name to the regular expression. The result is a named group of expressions, the set of all possible patterns that match the regular expression. The group may then be recalled by its name.


Back to the main index of this glossary
Explore Python
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Python
  4. Regular Expressions
  5. Python RegEx Glossary
  6. Parenthetical Compounds
  7. Python Regular Expressions (regex): The Regex Name Tag ('(?P<name>...)')

©2009 About.com, a part of The New York Times Company.

All rights reserved.