regex - more than 10 characters

python, regex

Solution

You use brace notation. For instance, the regex `a{10,}` would match 10 or more `a` characters. `a{10,20}` would match at least 10 and no more than 20 `a`s.

Problem

How do you indicate a regex that you want to require more than 10 characters? I know that '*' is more than 0, and that '+' is more than 1 but what is syntax for requiring more than 10? Thanks all!!!!

Original source