From b95468a93a57d4ca468010bdd670f79ed25c2bcc Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Sat, 26 Aug 2023 15:06:35 -0700 Subject: [PATCH] punctuation and syndication --- .../notes/regex-feature-creep-considered-non-harmful.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/notes/regex-feature-creep-considered-non-harmful.md b/content/notes/regex-feature-creep-considered-non-harmful.md index 2687d32..48b765d 100644 --- a/content/notes/regex-feature-creep-considered-non-harmful.md +++ b/content/notes/regex-feature-creep-considered-non-harmful.md @@ -6,11 +6,11 @@ replyTitle: "“regular” expressions" replyType: "SocialMediaPosting" replyAuthor: "Chjara" replyAuthorURI: "https://tuxcrafting.online/" -#syndicatedCopies: -# - title: 'The Fediverse' -# url: '' +syndicatedCopies: + - title: 'The Fediverse' + url: 'https://pleroma.envs.net/notice/AZ8TzJQpYkHFYzw0CO' --- De-facto standard extensions for recursion and variable-length look-arounds have existed for ages; the word "regular" in most regular-expression engines is there for historical reasons. I first read about this in {{}}{{}} by {{}} (he loves his biblical terminology). -I _would_ like to just use Raku rules for a concise way to describe more advanced grammars; I'd then just keep my regexes to the PCRE subset that's common between Google's RE2 and the Rust regex crate; I doubt they're both "regular" but both guarantee linear time matching. Part of the reason I don't do this is portability. Not everything runs Raku, but almost every platform has [a regex engine with the features I need](https://en.wikipedia.org/wiki/Comparison_of_regular_expression_engines). +I _would_ like to just use Raku rules for a concise way to describe more advanced grammars; I'd then just keep my regexes to the PCRE subset that's common between Google's RE2 and the Rust regex crate. I doubt they're both "regular" but both guarantee linear time matching. Part of the reason I don't do this is portability. Not everything runs Raku, but almost every platform has [a regex engine with the features I need](https://en.wikipedia.org/wiki/Comparison_of_regular_expression_engines).