1. Home
  2. Computing & Technology
  3. Python

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

By Al Lukaszewski, 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

More from About.com

  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>...)')

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

All rights reserved.