code_junkie

What is a “Nested Quantifier” and why is it causing my regex to fail?

Nov 11th, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. _ [ 0-9]{10}+ {1}+[ 0-9]{10}+ {2}+[ 0-9]{6}+ {2}[ 0-9]{2}
  2.  
  3. Match the characters "_ " literally «_ »
  4. Match a single character present in the list below «[ 0-9]{10}+»
  5. Exactly 10 times «{10}+»
  6. The character " " « »
  7. A character in the range between "0" and "9" «0-9»
  8. Match the character " " literally « {1}+»
  9. Exactly 1 times «{1}+»
  10. Match a single character present in the list below «[ 0-9]{10}+»
  11. Exactly 10 times «{10}+»
  12. The character " " « »
  13. A character in the range between "0" and "9" «0-9»
  14. Match the character " " literally « {2}+»
  15. Exactly 2 times «{2}+»
  16. Match a single character present in the list below «[ 0-9]{6}+»
  17. Exactly 6 times «{6}+»
  18. The character " " « »
  19. A character in the range between "0" and "9" «0-9»
  20. Match the character " " literally « {2}»
  21. Exactly 2 times «{2}»
  22. Match a single character present in the list below «[ 0-9]{2}»
  23. Exactly 2 times «{2}»
  24. The character " " « »
  25. A character in the range between "0" and "9" «0-9»
  26.  
  27. {10}+
  28.  
  29. "_ [ 0-9]{10} [ 0-9]{10} {2}[ 0-9]{6} {2}[ 0-9]{2}"
Add Comment
Please, Sign In to add comment