#Regex

2026-01-08

🚀 Đánh giá “regex builder” trong PHP 8.5: dùng toán tử pipe (|>) giúp viết mẫu regex ngắn gọn, không cần khởi tạo đối tượng. Các hàm any, lookahead, backReference hỗ trợ pattern linh hoạt qua enum và callback. Lợi ích: giảm code, ít side‑effects, dễ test. ⚠️ Không dùng trong môi trường production, chỉ để generate pattern nhanh. #PHP #Regex #Programming #Lập_trình #RegexBuilder #PipeOperator #CodeNgắnGọn

dev.to/xwero/php-fun-regex-bui

Python PeakPythonPeak
2026-01-08

Regex Backtracking Takes 47 Seconds Per Email Validation?!

REGEX CATASTROPHIC BACKTRACKING! 28 chars = 268M combinations! 47 seconds per validation! 200 evil emails = total DOS! Product launch FAILED! $8.7M lost sales! Security engineer FIRED!

youtube.com/watch?v=rCF3Ql5Jcsk

2026-01-08

No, you've got a dangling metacharacter.

#Spark #regex #DataEngineering

2026-01-08

Dear #infosec #lazyweb Are there any browsers that support sending their #logs to #ElasticSearch / #ClickHouse etc?

I'd kinda like to see what these fucking programs are doing with all my data and the way I normally see what a fucking program is doing is by #regex matching against a #log

(This post was indeed inspired by a post about garbage collecting fail2ban rules)

2026-01-08

^(\d{4}-\d{2}-\d{2}).*

Wooooot?!

For those of you who (like me) allways stumble about these cryptic hieroglyphs I found this gr8 tutorial ooooon... REGEX!

Easy to follow, nice interactive application examples at the end of every lesson.
A little too much SEO blabla, but still highly approved.

Best, NAH :heartcyber:

>> regexroo.com/

Have fun!

#regex #tutorial #interactive #training #coding

BTW the above pattern matches every string starting with a YYY-mm-dd format :skullstare:

HP van Braamhp@tmm.cx
2026-01-07

End of day 5 writing a complex program in #rustlang - addendum

I just learned of regex:: 's "Verbose mode"

Why doesn't every #regex engine have this? This really makes using more complex regexes way more reasonable, and means you can "get away" with using them for far, far longer.

Not gonna lie, this by itself might be enough for me to invest (even) more time in Rust.

What a obvious but great idea! 5/5 stars.

@phpmacher #RSS nutzen: Sicher. Immer noch populär. Ob als Eingangsformat für andere Medien oder direkte Nutzung durch Menschen.
Gibt diverse Systeme die lokal aggregieren und filtern, auch self-hostable. Teilweise über die eingebetteten #Metadaten, teilweise mit #Regex gegen andere Inhaltsfelder.
Der Schritt von da zu einer Art #Bayesfilter oder den NN wie sie #rspamd zur Klassifizierung nutzt oder sogar einem SLM/kleineren #LLM auf #Ollama, ggf. mit #TPU / #APU Support sollte überschaubar groß sein.
Eins der Probleme wird aber die zunehmend schlechte Feedqualität was Tags/Metadaten und der notorische (wenn gleich sehr verständliche) Hang zur Nicht-Auslieferung des Volltext im Feed sein. Da müsste man ggf auf Verdacht das Original fetchen, ggf. als zweite Stufe.

Und natürlich ist ein #Recommender-System was deutlich anderes als ein mehr oder minder ausgefeilter #Classifier. Aber lassen wir das...

2025-12-31

😂 Đã bao giờ bạn copy regex mà không hiểu nó hoạt động thế nào? Hướng dẫn này giúp bạn làm chủ biểu thức chính quy trong Python!
✅ Hiểu cú pháp cơ bản
✅ Làm chủ module `re`
✅ Ví dụ thực tế: email, URL, làm sạch văn bản
✅ Tránh lỗi phổ biến + best practices

Không còn copy mù quáng nữa - hiểu để tự tạo regex hiệu quả!
Thử thách regex lớn nhất của bạn là gì? Chia sẻ bên dưới 👇

#Python #Regex #Programming #CodingTips
#LậpTrình #Python #BiểuThứcChínhQuy #LậpTrìnhViên

https://dev.

2025-12-30

Au weia ich habe kaum Ahnung von #nodejs und #express und jetzt mögen neuere Versionen meine #regex nicht mehr. #WTF github.com/pillarjs/path-to-re sagt [0-9] gäbe es nicht mehr.
Ja was denn sonst ihr Deppen?

libUnderseaMonkey.so 🇪🇺underseamonkey@fosstodon.org
2025-12-28

I'm pretty sure today is [FMSTW][a-z]{2,5}day.

#christmas #regex

2025-12-21

@eddietonkoi has taken nerdom up a notch. In this article, he explains why and how he created his own spelling and structure checker for his wife’s manuscripts using Regular Expressions and Python. I could not love this more.

podfeet.com/blog/2025/12/editi

#regex #python #fiction

2025-12-21

I generated a testset of roughly 2 million patterns and respective matches to test the glob matcher of #sydbox. The glob matching code was inherited from #rsync and was first written in 1986(!). In the process I have noticed 5 divergences between the fnmatch(3) implementations of glibc vs. musl and reported it to musl devs. Here are the divergences: dpaste.com/44XJS89XM.txt curious to hear inputs from #regex wizards as to whether #glibc or #musl is correct! TYVMIA! #linux #libc

2025-12-20

JAX-RS Done Right! (VI. - RegEx Routing) - Head Crashing Informatics 12 | JAX-RS Tutorial 06

peertube.headcrashing.eu/w/wBi

2025-12-18

I took this (#KodakBrownie/#120film) picture from the inside of a tunnel. The first image is a scan from negative; the scanner usually quite helpfully adjusts levels and brings out contrast in ways that are hard to reproduce in actual printmaking.
My prints (I just do contact printing lately; the 6x9cm negs make nice little pictures) either wash out the outside in the background (cf the 2nd image) or make the tunnel interior completely black.
This is a time to try some #darkroom experimentation.
#ContactPrinting #ContactPrint #ContactPrints (I would like to reiterate my request that M should support hash-tags via #Regex!).

scan of a negative.  view from inside a tunnel towards nice park scenery.  the tunnel walls are made to look like a cave.same picture; the outside is washed out but you can see the tunnel interior (sorta)
2025-12-18

Biểu thức chính quy (Regex) không phải là phép thuật – đó là công cụ mạnh để xử lý văn bản trong JavaScript. Bài viết hướng dẫn từ cơ bản đến nâng cao: cú pháp, flag, lượng tử, nhóm, lookaround và mẹo tối ưu. Thực hành với ví dụ rõ ràng giúp bạn dùng regex hiệu quả, nhanh chóng và chính xác.

#Regex #JavaScript #WebDev #LậpTrình #Frontend #JavaScriptVietnamese #BiểuThứcChínhQuy

dev.to/mahmud-r-farhan/regular

2025-12-16

𝗥𝗲𝗴𝘂𝗹𝗲𝘅:

#Regex #UI #Regulex #Parser #Visualizer

thewhale.cc/posts/regulex

JavaScript Regular Expression Visualizer.

JavaScript Regular Expression Visualizer.
particlefluxparticleflux
2025-12-15

> There are 16 methods of Regexp that match a regular expression and identify the matched text. Their names are matched by this regular expression:

> `Find(All)?(String)?(Submatch)?(Index)?`

lol 😂

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst