English help on website



localgrep文(Ver9.24対応版)
目次検索系文− localgrep文
localgrep文は、現在の内容を対象にしてgrepを実行します。
localgrep "#include", word;
パラメータ1(文字列型)
検索文字列を指定します。

パラメータ2以降(予約語、省略可能)
検索のオプションを、以下の予約語をカンマ区切りで複数指定できます。
word
casesense または nocasesense
regular または noregular
fuzzy
hilight または nohilight
masknormal maskcomment maskifdef maskscript maskstring masktag maskonly
icon
outputsingle または outputsametab
unmatch
結果コード
resultには見つかった個数が入ります。途中で中断された場合はresultは-1になります。


予約語パラメータについて
grepの予約語パラメータ

検索文字列には上限があります。上限を超える可能性がある場合は事前に文字数をカウントして判断する必要があります。
参照:検索/置換文字列の上限について
参照:正規表現について