Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
概要
原音設定のエイリアスを編集する機能を追加しました。
変更点
utaupy\otoini.py
の OtoIni クラスに、次のメソッドを追加しました。apply_regex
: 対象行(正規表現に完全一致した行か、全行)に関数を実行します。replace_regexp_alias
: 対象行のエイリアスを置換します。add_alias
: 対象行に接頭辞または接尾辞を追加します。trim_alias
: 対象行の語頭または語尾から、文字数を指定して削除します。関連するプルリクエスト
このプルリクエストは、setParamプラグイン向けの機能追加 ( #13 ) で保留となった機能を分割したものです。