######octothorp.es

#regular-expressions

  • Add Regular Expression Operator to SQLite

    https://justatheory.com/2006/01/add-sqlite-regexen

  • Splitting Words in Perl

    https://justatheory.com/2005/09/perl-split-words

    I’ve created a new module, Text::WordDiff, now on its way to CPAN, to show the differences between two documents using words as tokens, rather than lines as Text::Diff does. I plan to use it in Bricolage to give people a change tracking-type view (as seen in word processors) comparing two versions of a document. Fortunately, Algorithm::Diff makes this extremely easy to do. My only real problem was figuring out how to tokenize a string into words

  • How to Use Regex Named Captures in Perl 5

    https://justatheory.com/2006/10/perl-regex-named-captures

  • Regular Expressions are Faster than Unpacking

    https://justatheory.com/2005/03/perl-pack-vs-regex

    Follow #regular-expressions on RSS or use the

    JSON API
    
    curl -X GET \
      -H "Content-type: application/json" \
      -H "Accept: application/json" \
      "https://octothorp.es/~/regular-expressions"