home.social

#regularexpression — Public Fediverse posts

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

fetched live
  1. When the killer bots come...
    ...Remember to have your #regularexpression /parser gun ready...

    /\//\\{}\\//// Are like holy water to vampires for Ai

    I just managed to crash Claude #Sonnet session TWICE with a stack of those.

  2. Naty S @eclecticpassions ·

    Regular expression (Regex) is a skill I wish I have a better grasp on; but I’m slowly learning! For example, I often find myself searching for a particular string pattern to replace it with something else...

    Read full note: <burgeonlab.com/notes/2026/0612>

    This is post 55 of
    <burgeonlab.com/tags/100daystoo>

  3. Regular expression (Regex) is a skill I wish I have a better grasp on; but I’m slowly learning! For example, I often find myself searching for a particular string pattern to replace it with something else...

    Read full note: <burgeonlab.com/notes/2026/0612>

    This is post 55 of #100DaysToOffload
    <burgeonlab.com/tags/100daystoo>

    #regex #RegularExpression #markdown

  4. RE#: how we built the world's fastest regex engine in F#, iev.ee/blog/resharp-how-we-bui.

    Excellent blog post!
    Very interesting approach with new operations: intersection (&) and complement (~).

    Implementation: github.com/ieviev/resharp-dotn
    Research paper: dl.acm.org/doi/abs/10.1145/370 (POP25)

    #RegularExpression #regex

  5. RE#: how we built the world's fastest regex engine in F#, iev.ee/blog/resharp-how-we-bui.

    Excellent blog post!
    Very interesting approach with new operations: intersection (&) and complement (~).

    Implementation: github.com/ieviev/resharp-dotn
    Research paper: dl.acm.org/doi/abs/10.1145/370 (POP25)

    #RegularExpression #regex

  6. 𝗥𝗲𝗴𝗲𝘅 𝗟𝗲𝗮𝗿𝗻:

    #Regex #RegularExpression #Regex #Learn

    thewhale.cc/posts/regex-learn

    Learn Regex step by step, from zero to advanced. Learning Regex is easier than you think. You can use this tool to easily learn, practice, test and share Regex.

  7. 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

  8. Sharkey supports Regular Expressions for your hard and soft word mutes. Mastodon should too! If not raise holy hell with them.

    The syntax for a case-insensitive
    #RegEx (#RegularExpression) for blocking "international airport" or "physical therapy" would be:

    /.*international ?airport*./i
    /.*physical ?therapy*./i

    This would match:
    - international airport
    - International Airport
    - InternationalAirport

    And so on. Also, I'm purposefully not using any common triggers so as not to trigger any one.

    Once you go regex in your word mutes you'll never want to go back to plain words ever again.


    RE: https://social.growyourown.services/users/FediTips/statuses/114604240538234292

  9. 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

  10. 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

  11. My PhD student was still feeling uncomfortable with , so I searched and found these awesome regex games that can help you improve your regex-fu and help you have some fun during your daily commute:

    regexcrossword.com

    the-regex-game.com/?level=inte

    and this imho is more geared towards beginners:

    regexone.com

  12. My PhD student was still feeling uncomfortable with #regex, so I searched and found these awesome regex games that can help you improve your regex-fu and help you have some fun during your daily commute:

    regexcrossword.com

    the-regex-game.com/?level=inte

    and this imho is more geared towards beginners:

    regexone.com

    #RegularExpression

  13. At some point there had to be a competition for who can create the most fked up syntax for regular expressions. And I feel like #vim was probably in the top three. Non-greedy being \{-} is WILD.
    (Yes, I'm aware of the history, it's a joke. But also apparently nobody ever thought about standardizing it for developer's sanity)
    #regex #regularexpression

  14. At some point there had to be a competition for who can create the most fked up syntax for regular expressions. And I feel like #vim was probably in the top three. Non-greedy being \{-} is WILD.
    (Yes, I'm aware of the history, it's a joke. But also apparently nobody ever thought about standardizing it for developer's sanity)
    #regex #regularexpression

  15. Things I Learned Today
    #TILT #bash #linux
    Still working on #regularExpression in bash.

    re='^~\s~\s~'
    if [[ "${lineN}" =~ ${re} ]] ; then bla bla bla...

    The extra variable declaration is needed; found on web
    "While not always necessary, it is advisable to store the regex in a variable first, because Bash has trouble with regex literals containing \."

  16. Things I Learned Today
    #TILT #bash #linux
    Still working on #regularExpression in bash.

    re='^~\s~\s~'
    if [[ "${lineN}" =~ ${re} ]] ; then bla bla bla...

    The extra variable declaration is needed; found on web
    "While not always necessary, it is advisable to store the regex in a variable first, because Bash has trouble with regex literals containing \."

  17. Things I Learned Today
    #TILT #bash #linux

    It took me while to figure this out and now I remember that I fell in this hole before.

    When using #regularExpression like:

    if [[ ! ${suffix} =~ .*voScript.txt$ ]] ; then echo "something" ;fi

    do NOT quote the regular expression. It is not a string.

  18. Things I Learned Today
    #TILT #bash #linux

    It took me while to figure this out and now I remember that I fell in this hole before.

    When using #regularExpression like:

    if [[ ! ${suffix} =~ .*voScript.txt$ ]] ; then echo "something" ;fi

    do NOT quote the regular expression. It is not a string.

  19. Best answer on regexps ever? 🧐 😎

    - What is the plural form of regex?

    - If you've used more than one of them, you'll know that the plural of "regex" is "regrets." – cjs (Mar 14, 2022 at 23:46)

    #regex #regexps #programmer #programming #devops #regularexpression

  20. Best answer on regexps ever? 🧐 😎

    - What is the plural form of regex?

    - If you've used more than one of them, you'll know that the plural of "regex" is "regrets." – cjs (Mar 14, 2022 at 23:46)

    #regex #regexps #programmer #programming #devops #regularexpression

  21. Boah ich bin echt zu dumm, um #regex zu verstehen. Kann mir jemand nen #Tipp geben, wie ich zwei eckige Klammern "[ ]" inklusive allen Zeichen zwischen diesen auswählen kann?

    #RegularExpression