════════════════════════════════════════════════════════════
  正規表現テスト (Python re)

  $ curl clilap.org/regex/{パターン}           — マッチ例・非マッチ例を表示
  $ echo "text" | curl -d @- clilap.org/regex/{パターン}  — テキストに対してマッチ
  $ curl -T pattern.txt clilap.org/regex/             — ファイルでパターン送信
  $ curl -T pattern.txt "clilap.org/regex/?text=hello"  — ファイル+テキスト

  使用例:
  curl clilap.org/regex/%5Cd%7B3%7D-%5Cd%7B4%7D          # \d{3}-\d{4}
  curl clilap.org/regex/%5B0-9a-f%5D%7B6%7D              # [0-9a-f]{6}
  curl clilap.org/regex/%5Cw%2B%40%5Cw%2B%5C.%5Cw%2B    # \w+@\w+\.\w+
  echo "Hello World" | curl -d @- clilap.org/regex/hello
  echo "test@example.com" | curl -d @- clilap.org/regex/%5Cw%2B%40%5Cw%2B%5C.%5Cw%2B

  フラグ (?flags=):
  i  — 大文字小文字無視 (ignorecase)
  m  — 複数行モード (multiline)
  s  — . が改行にもマッチ (dotall)
  x  — 拡張モード (verbose)
  im — 複数フラグ組み合わせ可

  特殊文字のURLエンコード:
  \  →  %5C    {  →  %7B    }  →  %7D    ^  →  %5E
  $  →  %24    +  →  %2B    ?  →  %3F    |  →  %7C
  [  →  %5B    ]  →  %5D    (  →  %28    )  →  %29
  → 複雑なパターンは curl -T でファイルから送ると楽
════════════════════════════════════════════════════════════
©2025 CLI Lap by Lapius7. All rights reserved.