home.social

#regularexpressions — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #regularexpressions, aggregated by home.social.

fetched live
  1. Regular expressions are very powerful, yet can be tricky to create.

    Would you like to see a set of "challenges" that we complete and learn from together?

    Conditions:
    - No outside help (websites, AI, local tools)
    - No peeking in the answers
    - We have to decide on a single tool that works on #Linux and #BSD using the same regex engine

    #regex #regularexpressions

  2. 🚀 Wow, a 2012 screed on regular expressions! Because nobody knew about their "true power" before this 🙄. Congratulations on discovering that #regex can sometimes parse HTML—surely a revelation for the ages. 🤦‍♂️ #RegexRevolution
    npopov.com/2012/06/15/The-true #RegularExpressions #HTML #Parsing #DeveloperHumor #TechNews #HackerNews #ngated

  3. YOU GUYS HOLY FUCK M-x re-builder

    DEAR GOD IN HEAVEN I PREVIOUSLY IGNORED IT LIKE I CAN WRITE REGULAR EXPRESSIONS WHY DEAL WITH THIS FUSSY THING

    I WAS BLIND BUT NOW I SEE FORGIVE ME LORD THE SCALES HAVE FALLEN FROM MY FOOLISH EYES

    #emacs #regularexpressions #regex

  4. Redis Array Playground Tool: Redis Array Playground Salvatore Sanfilippo submitted a PR adding a new data type - arrays - to Redis. The new commands are ARCOUNT , ARDEL , ARDELRANGE , ARGET , ARGET...

    #salvatore-sanfilippo #webassembly #generative-ai #agentic-engineering #ai #redis #llms #regular-expressions #c

    Origin | Interest | Match
  5. RE: mastodon.social/@mikaeru/11550

    The latest post on the Unicode Consortium blog gives an exhaustive list of all the new Unicode properties in regular expressions (regex), and explains why all the supported properties are so important and can be so useful:

    blog.unicode.org/2026/03/uts-1

    #Unicode #Properties #Regex #RegularExpressions

  6. GNU awk

    From awk with love

    Quote

    This is a major release. The relevant part of the NEWS file is appended
    below. A diff file from the previous release is not available
    The online manuals have been updated.

    gnu.org/software/gawk/

    lists.gnu.org/archive/html/inf

    #awk #GNUawk #regular #expressions #RegularExpressions #regex #programming #GNU #NotUnix #OpenSource #POSIX

  7. Pyparsing-based regex inverter (a static page written using PyScript) is live at ptmcg.github.io/regex_inverter/

  8. ArkType Introduces ArkRegex with Type Safe Regular Expressions

    ArkType, the runtime validation library known for type-safe syntax, has introduced ArkRegex, a drop-in replacement for JavaScript’s RegExp…
    #NewsBeep #News #Technology #arkregexintroducedtypescript #CA #Canada #Development #JavaScript #RegularExpressions #TypeScript #Validation #WebDevelopment
    newsbeep.com/ca/413525/

  9. [Follow-Up]

    Reference links:

    - UTS #18: Unicode Regular Expressions
    🔗 unicode.org/reports/tr18/

    - UTS #18: Unicode Regular Expressions [Proposed Update]
    🔗 unicode.org/reports/tr18/propo

    - Issues - tonton-pixel/unicopedia-plus - Codeberg.org
    🔗 codeberg.org/tonton-pixel/unic

    #Unicopedia #Unicode #Regex #RegularExpressions

  10. Raku: The match of a regex is automatically stored in $/, and this variable then also provides access to the text before ($/.prematch), to the text after ($/.postmatch), and to the match's position ($/.from and $/.to). Nice.

    docs.raku.org/language/regexes

    #raku #rakulang #regularexpressions #regex #regexes

  11. Eine Frage aus unserem @vdbnordwest #librarycarpentry heute morgen -- kennt ihr Fachdatenbanken, in denen die Suche mit #RegularExpressions möglich ist? Ich weiß, dass das bei SPARQL-Endpoints geht, und ElasticSearch und Solr sollten das eigentlich auch unterstützen. Aber ob es dann auch über API / Nutzeroberfläche bereitgestellt wird, ist ja noch einmal eine andere Frage.

  12. Today I learned that regular expressions have a size limit and you get a “regular expression too large” error if you go over it.

    Still trying to find some definitive documentation on what that size limit is in v8/latest Node.js.

    #web #dev #JavaScript #regularExpressions

  13. I got less traffic for my Python article than I expected, so I added "Python" to the title, and inserted some section headers to break things up a bit, and make the flow of my thinking a bit clearer.

    I was pretty happy with how this project turned out. This decorator makes the re.sub function simpler to work with. The decorator simplifies the re.sub API, wrapping your own function that takes in strings and returns a string. medium.com/@ptmcg/re-sub-as-a-

  14. I wanted to append a prefix to the beginning of the contents of a bunch of cells in #LibreOffice Calc, and the "simplest" way I found to do that today (from what I saw as recommendations in forums like StackOverflow and Reddit)… was to use regexes 🤮

    So, to prefix the contents, I searched for:
    ^(.)

    …and replaced by:
    The string you want to add as a prefix $1

    I feel dirty.

    #regex #RegularExpressions #spreadsheets

  15. How do I use regular expressions to mute specific terms without muting them if they're just part of a word?
    So like, in a stupid example:
    I want to block "lol" but not "testloltest"
    #regularexpressions #regularexpression #sharkey #misskey #wordmute

Share on Mastodon

Enter the server where you have an account.