GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    jwz (jwz@mastodon.social)'s status on Tuesday, 07-Jan-2025 06:13:18 JST jwz jwz

    Now I have two problems.

    Lazyweb, why doesn't this regexp match in Perl 5.32.1, 5.34.3 or 5.18.2 but does in PHP and JS: perl -le 'print 0 + ("ABCDE" =~ m/ABCF|BCDE|C(G)/);' Changing nearly any character, including the C before the G, or removing the...
    https://jwz.org/b/ykfv

    In conversation about 5 months ago from mastodon.social permalink

    Attachments


    1. https://files.mastodon.social/media_attachments/files/113/783/471/108/664/397/original/20a8ece395913ad3.jpg
    2. Domain not in remote thumbnail source whitelist: www.jwz.org
      Now I have two problems
      Lazyweb, why doesn't this regexp match in Perl 5.32.1, 5.34.3 or 5.18.2 but does in PHP and JS: perl -le 'print 0 + ("ABCDE" =~ m/ABCF|BCDE|C(G)/);' Changing nearly any character, including the C before the G, or removing the parens, makes it match.
    • Embed this notice
      Drew 🐘 (dvogel@mastodon.social)'s status on Tuesday, 07-Jan-2025 06:35:36 JST Drew 🐘 Drew 🐘
      in reply to

      @jwz I think the | and the () have inverse precedence ... maybe? IOW the opening paren around the G implies a paren group around everything before it.

      In conversation about 5 months ago permalink
    • Embed this notice
      jwz (jwz@mastodon.social)'s status on Tuesday, 07-Jan-2025 13:44:14 JST jwz jwz
      in reply to

      Definitely did not have "finding an actual bug in Perl's regular expression matcher" on my 2025 bingo card, but it is certainly not going to be the weirdest thing I experience this year.

      In conversation about 5 months ago permalink
    • Embed this notice
      Greg Whitehead (grwster@mastodon.social)'s status on Tuesday, 07-Jan-2025 13:57:38 JST Greg Whitehead Greg Whitehead
      in reply to

      @jwz Hah, I got sucked into looking at that when I saw your post and decided that it must be a bug before pulling myself away. BTW, how are you connecting your blog posts to mastodon and getting replies as comments? I’d like to do something like that myself

      In conversation about 5 months ago permalink
    • Embed this notice
      John Wilson (crazybutable@mastodon.social)'s status on Tuesday, 07-Jan-2025 14:50:07 JST John Wilson John Wilson
      in reply to

      @jwz I feel like if anyone would find the bug, cosmic forces would dictate that it would be you

      In conversation about 5 months ago permalink
    • Embed this notice
      jwz (jwz@mastodon.social)'s status on Tuesday, 07-Jan-2025 15:56:35 JST jwz jwz
      in reply to
      • Joe Crawford
      • Greg Whitehead

      @artlung @grwster I am so glad to hear that someone else is using it because honestly I thought the total number of users would be me.

      In conversation about 5 months ago permalink
    • Embed this notice
      Joe Crawford (artlung@xoxo.zone)'s status on Tuesday, 07-Jan-2025 15:56:37 JST Joe Crawford Joe Crawford
      in reply to
      • Greg Whitehead

      @grwster I'm a big fan of his code. I use it for my own blog. Presumes WordPress is where your comments are destined. See: https://www.jwz.org/hacks/mastodon-to-wp-comments.php

      In conversation about 5 months ago permalink

      Attachments


      1. Invalid filename.
    • Embed this notice
      jwz (jwz@mastodon.social)'s status on Wednesday, 08-Jan-2025 04:17:50 JST jwz jwz
      in reply to
      • Jeff

      @evilotto It was the obvious thing, "why isn't this long list of patterns matching the line they should definitely be matching", followed by a whole lot of reducing-the-test-case.

      In conversation about 5 months ago permalink
    • Embed this notice
      Jeff (evilotto@sfba.social)'s status on Wednesday, 08-Jan-2025 04:17:51 JST Jeff Jeff
      in reply to

      @jwz I'm curious what you were actually doing that didnt work for a non-obvious reason and led to a multi-hour exploration to create a minimal repro. If not ordinary custom scripts for web or sysadmin tasks, I'm guessing custom spamassassin rules or nagios plugins.

      In conversation about 5 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.