#regexp

razzlom is always sadrazzlom@quietplace.xyz
2026-02-02

Когда ты пишешь [А-Яа-я] ты надеешься, что все буквы входят в эту последовательность, НО ё особенная и не входит в него. ​:blobcatsadshrug:​

#regexp

JavaScriptBuzzJavaScriptBuzz
2026-01-10

RegExp lastIndex Mutates Global Matches?!

Global regex has MEMORY! The lastIndex property remembers where it stopped. Reset it to 0 and the same regex matches DIFFERENTLY. This mutation behavior will cause bugs you'll never find!

youtube.com/watch?v=R9Oos0uu-BQ

2026-01-07

Need a #regexp sanity check from someone else who actually knows their regexp

I was using the following regexp to find empty spans to remove.

<span style=".*?"><\/span>

My understanding is that the ? means it'll find the smallest valid match that's followed by "></span>

that _worked_ for YEARS in one of my codebases and now it's matching across multiple spans.

<span style="[^"]*"><\/span>

is the fix BUT my question is _should I even NEED a fix?_

Iznogoudiznogoud
2025-12-31

RegExp of the year: s|AI|Statistics engine|g

Now I can read posts and articles again!

Digital Mark λ ☕️ 🕹 👽mdhughes@appdot.net
2025-12-19
<red flag gryphon>
hey guys
people: gr[iuy](?:ff|ph)[eioy]n
g: NOT WHAT I'M— you know what okay I'll take it
2012-02-22

NOTE: this was originally published on the older version of this blog, some content may be broken/outdated.

Following a discussion on hacker news I have found myself wondering about regular expressions in ruby 1.9.

In this major version ruby switched its regex engine to oniguruma (and, since a few days ago to a fork of it called Onigmo ).

This engine is widely more powerful than the […]

https://riffraff.info/2012/02/matching-nested-structures-with-regexps-in-ruby-1-9/

A tam zaraz alfabetycznie. #RegExp #rulez ;) To jest wyrażenie regularne obejmujące imiona polskie 3-6 literowe. Z pewnymi uproszczeniami. Nie dziękuj :)

2025-11-13
2025-11-05

Регулярные выражения в плагине «Аналитика» для Р7 офис

Если обычный человек посмотрит на исходный код программы, написанный на популярных языках вроде JavaScript или Python, то по контексту и знакомым словам он сможет понять, что происходит. Но регулярные выражения со стороны похожи на случайный набор символов – будто кошка прошла по клавиатуре. В этом случае даже код на Ассемблере выглядит более читаемым. Мы в « ЛАНИТ-Интеграции » не понаслышке знаем, как бывает сложно собрать воедино данные из нескольких источников, привести их к общему виду и создать на их основе единую таблицу с полным отчетом. Для решения этой задачи был создан плагин «Аналитика» для Р7-офис как инструмент автоматизации для выгрузки и обработки данных. В этой статье в блоге ЛАНИТ хочу рассказать вам о новых возможностях поиска данных в плагине в сочетании с функционалом RegExp (они же регулярные выражения или просто регулярки).

habr.com/ru/companies/lanit/ar

#ланит #ланитинтеграция #regex #regexp #регулярки #регулярные_выражения

Banapanabanapana
2025-10-08

One thing I really like about LLMs (AI)? Never having to write a regular expression again!

2025-09-17

My tip of the of the day.

To match a literal dot "." with a regular expression, write

"[.]"

instead of

"\\." or "\\\\." or even "\\\\\\\\.",

depending on context. 😀

#regex #regexp #regularexpression #programming #stringmatching

Johannes Brakensieklazarus@fosstodon.org
2025-09-15

Das wäre dann auch meine einzige Kritik an @emk s Ansatz: In #Lowmark finden sich viele reguläre Ausdrücke zum Parsen. Die sind aber schwer zugänglich. Ich versuche Parser meist ohne #RegExp zu schreiben. Das macht den Code deutlich länger, aber leichter zu verstehen.

de.m.wikipedia.org/wiki/Regulä

lowmark.de

2025-09-14

正規表示式的先行斷言(lookahead)和後行斷言(lookbehind)
runoob.com/w3cnote/reg-lookahe

#regex #regexp

2025-08-31

Чистим строку от лишних/повторяющихся пробелов (и пробельных символов) в строковых значениях компактно. RegExp

Хочу поделиться компактной функцией для очищения лишних, повторяющихся пробелов и пробельных символов в строках. Не считайте это призывом, но если можно привести строковые данные в красивый вид без лишних хлопот, то почему бы и не воспользоваться. Те, кто не знаком с регулярными выражениями (regular expressions, RegExp, regex), может приоткроет форточку в этот славный и замороченный мир ( Регулярные выражения (regexp) — основы )

habr.com/ru/articles/942568/

#regexp #excel #python #javascript #visual_basic_for_applications

2025-08-31

Pythonの正規表現で特殊記号をすべて闇に葬り去りたいとき #regexp - Qiita
https://qiita.com/ganyariya/items/42fc0ed3dcebecb6b117

🇨🇦Samuel Proulx🇨🇦fastfinge@interfree.ca
2025-08-29
If the title of this one doesn't interest you, the contents sure won't! Correcting Years With #NVDA and #Espeak: stuff.interfree.ca/2025/08/28/correct-years-with-nvda-and-espeak.html #regexp #blind #screenreader #a11y #accessibility
Oto Šťávaalefunguju
2025-08-20

Whenever you use a regular expression to filter IP addresses, a kitten dies.

シャミジマペンギンboronology@social.penguinability.net
2025-08-11

シークヮーサーとファイアーエムブレムの表記ゆれを正規表現で表す #regexp - Qiita
qiita.com/rsato/items/d804894b

Vincent Lefèvrevinc17@framapiaf.org
2025-08-09

Client Info

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