Agent skill

regex-and-text-processing

Stars 5
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/Gaku52/claude-code-skills/tree/main/ja/02-programming/regex-and-text-processing

SKILL.md

正規表現とテキスト処理

正規表現はテキスト処理の強力な武器。基本構文からルックアヘッド/ビハインド、名前付きキャプチャ、Unicode 対応、各言語での実装まで、正規表現の全てを解説する。

このSkillの対象者

  • 正規表現を体系的に学びたいエンジニア
  • テキスト処理・データクレンジングを効率化したい方
  • バリデーション実装を改善したい方

前提知識

  • 基本的なプログラミング経験
  • 文字列操作の基礎知識

学習ガイド

00-basics — 正規表現の基礎

# ファイル 内容

01-advanced — 高度な機能

# ファイル 内容

02-languages — 言語別実装

# ファイル 内容

クイックリファレンス

正規表現チートシート:
  .       — 任意の1文字
  \d \w \s — 数字/英数字/空白
  [abc]   — 文字クラス
  ^  $    — 行頭/行末
  *  +  ? — 0回以上/1回以上/0-1回
  {n,m}   — n〜m回
  (...)   — キャプチャグループ
  (?:...) — 非キャプチャグループ
  (?=...) — 先読み
  (?<=..) — 後読み
  \1      — 後方参照

参考文献

  1. Friedl, J. "Mastering Regular Expressions." O'Reilly, 2006.
  2. regular-expressions.info — 総合リファレンス
  3. regex101.com — オンラインテスター

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results