Guest User

Untitled

a guest
Apr 3rd, 2013
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.39 KB | None | 0 0
  1. IP Parse:
  2.  
  3. \b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b
  4.  
  5. Assert position at a word boundary «\b»
  6. Match the regular expression below and capture its match into backreference number 1 «(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)»
  7. Match either the regular expression below (attempting the next alternative only if this one fails) «25[0-5]»
  8. Match the characters “25” literally «25»
  9. Match a single character in the range between “0” and “5” «[0-5]»
  10. Or match regular expression number 2 below (attempting the next alternative only if this one fails) «2[0-4][0-9]»
  11. Match the character “2” literally «2»
  12. Match a single character in the range between “0” and “4” «[0-4]»
  13. Match a single character in the range between “0” and “9” «[0-9]»
  14. Or match regular expression number 3 below (the entire group fails if this one fails to match) «[01]?[0-9][0-9]?»
  15. Match a single character present in the list “01” «[01]?»
  16. Between zero and one times, as many times as possible, giving back as needed (greedy) «?»
  17. Match a single character in the range between “0” and “9” «[0-9]»
  18. Match a single character in the range between “0” and “9” «[0-9]?»
  19. Between zero and one times, as many times as possible, giving back as needed (greedy) «?»
  20. Match the character “.” literally «\.»
  21. Match the regular expression below and capture its match into backreference number 2 «(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)»
  22. Match either the regular expression below (attempting the next alternative only if this one fails) «25[0-5]»
  23. Match the characters “25” literally «25»
  24. Match a single character in the range between “0” and “5” «[0-5]»
  25. Or match regular expression number 2 below (attempting the next alternative only if this one fails) «2[0-4][0-9]»
  26. Match the character “2” literally «2»
  27. Match a single character in the range between “0” and “4” «[0-4]»
  28. Match a single character in the range between “0” and “9” «[0-9]»
  29. Or match regular expression number 3 below (the entire group fails if this one fails to match) «[01]?[0-9][0-9]?»
  30. Match a single character present in the list “01” «[01]?»
  31. Between zero and one times, as many times as possible, giving back as needed (greedy) «?»
  32. Match a single character in the range between “0” and “9” «[0-9]»
  33. Match a single character in the range between “0” and “9” «[0-9]?»
  34. Between zero and one times, as many times as possible, giving back as needed (greedy) «?»
  35. Match the character “.” literally «\.»
  36. Match the regular expression below and capture its match into backreference number 3 «(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)»
  37. Match either the regular expression below (attempting the next alternative only if this one fails) «25[0-5]»
  38. Match the characters “25” literally «25»
  39. Match a single character in the range between “0” and “5” «[0-5]»
  40. Or match regular expression number 2 below (attempting the next alternative only if this one fails) «2[0-4][0-9]»
  41. Match the character “2” literally «2»
  42. Match a single character in the range between “0” and “4” «[0-4]»
  43. Match a single character in the range between “0” and “9” «[0-9]»
  44. Or match regular expression number 3 below (the entire group fails if this one fails to match) «[01]?[0-9][0-9]?»
  45. Match a single character present in the list “01” «[01]?»
  46. Between zero and one times, as many times as possible, giving back as needed (greedy) «?»
  47. Match a single character in the range between “0” and “9” «[0-9]»
  48. Match a single character in the range between “0” and “9” «[0-9]?»
  49. Between zero and one times, as many times as possible, giving back as needed (greedy) «?»
  50. Match the character “.” literally «\.»
  51. Match the regular expression below and capture its match into backreference number 4 «(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)»
  52. Match either the regular expression below (attempting the next alternative only if this one fails) «25[0-5]»
  53. Match the characters “25” literally «25»
  54. Match a single character in the range between “0” and “5” «[0-5]»
  55. Or match regular expression number 2 below (attempting the next alternative only if this one fails) «2[0-4][0-9]»
  56. Match the character “2” literally «2»
  57. Match a single character in the range between “0” and “4” «[0-4]»
  58. Match a single character in the range between “0” and “9” «[0-9]»
  59. Or match regular expression number 3 below (the entire group fails if this one fails to match) «[01]?[0-9][0-9]?»
  60. Match a single character present in the list “01” «[01]?»
  61. Between zero and one times, as many times as possible, giving back as needed (greedy) «?»
  62. Match a single character in the range between “0” and “9” «[0-9]»
  63. Match a single character in the range between “0” and “9” «[0-9]?»
  64. Between zero and one times, as many times as possible, giving back as needed (greedy) «?»
  65. Assert position at a word boundary «\b»
Advertisement
Add Comment
Please, Sign In to add comment