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
    :fedibird1: にゃーたニャイスポ :verify: (zc33s@fedibird.com)'s status on Thursday, 02-Jan-2025 12:31:03 JST :fedibird1: にゃーたニャイスポ :verify: :fedibird1: にゃーたニャイスポ :verify:

    キーワード購読、一つの項目に複数の単語を並べてマッチングさせられるけど、その辺、正規表現を使うのとどっちが処理的には軽いんだろ :thinking_shamiko:

    ちなみに、私は正規表現が面倒くさいので、単語を複数登録してる派

    #fedibird

    In conversation about 4 months ago from fedibird.com permalink
    • Embed this notice
      のえる (noellabo@fedibird.com)'s status on Thursday, 02-Jan-2025 12:31:03 JST のえる のえる
      in reply to
      • かき@GNUsocialJP

      @ZC33S 単語を並べるやつも、あれ単純マッチじゃないので、内部的にはそこそこ複雑な正規表現に変換しています。

      そして実は、私も正規表現は直接使わず、単語を並べて使っています!

      軽さでいえばシンプルな正規表現の方が軽いですが、そこはあんまり気にしなくてOKです。

      軽い正規表現を書くにはコツがありますが……ちょっとテーマが大きいのでぜひ調べてみてください!

      #fedibird

      In conversation about 4 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.