Guile色々/正規表現のための手続き

変更履歴

概 要

目 次

参考資料

準備

モジュールのロード

基本的な利用方法

コンパイルとマッチング

make-regexp(コンパイル)

regexp-exec(マッチング)

実行例

string-match(コンパイル&マッチング)

マッチ構造(match structure)

マッチ構造の成分

部分式マッチング(subexpression matching)

マッチ構造を利用するための手続き

各手続きに共通の引数

match:substring

match:start

match:end

match:count,match:string,match:prefix,match:suffix,regexp-match?

その他の手続き

regexp?

fold-matches

list-matches

regexp-substitute

regexp-substitute/global

regexp-quote

(おしまい)