this post was submitted on 17 Sep 2026
13 points (100.0% liked)

FOSS - Freie Software

1420 readers
1 users here now

Deutschsprachige Community zum Austausch über Freie Software

Postet hier gerne News, Artikel, Empfehlungen und Fragen mit Bezug zu FOSS - Open Source - Freier Software…

Dies ist eine Lemmy-Community (Was ist Lemmy?) Wie Ihr auch von anderen Fediverse-Accounts aus teilnehmen könnt, ist auch hier beschrieben.

Bildquelle Icon: Colin Viebrock, CC BY 2.5 via Wikimedia Commons

#fedi22 #FOSS #OpenSource

Nachfolge von @foss_de@feddit.de

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] chickenf622@sh.itjust.works 6 points 4 weeks ago (1 children)

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.

[–] rocket9@feddit.org 2 points 4 weeks ago* (last edited 4 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.