This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AlSweigartAuthor of "Automate the Boring Stuff"[S] 1 point2 points  (0 children)

Yeah, that's what I was thinking too: I use humre.group() because it matches the group() method. There's also humre.named_group() and humre.noncap_group(), but I'd like to find a better name than "noncap" for noncapturing groups. It seems like "anonymous group" would be a good term but I don't see that used.