you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 3 weeks ago (1 child)

May want to out a warning on this tool that if your checking against a long list of strings you may want to use something else. A massive regex can be a huge performance bottleneck. I know from personally killing a production server by using an inefficient regex on large strings of data.

  • source
  • hideshow 1 child comment
  • [–] [S] 2 points 3 weeks ago*

    list2regexp will limit each regular expression to matching 10,000 entries by default. Matching against each pattern of 10,000 entries takes around 1 microsecond on a laptop. I've fed it several megabytes of IP addresses and it doesn't choke. That's kind of the point.

  • source
  • parent