[4113]
Re:メールのレスを色分け
じゅうじ
▼ maruさん
こんな感じでしょうか。
// 正規表現キーワード Ver1
RxKey[000]=RK1,/ ?> ?> ?> ?.*/k
RxKey[001]=RK2,/ ?> ?> ?.*/k
RxKey[002]=RK3,/ ?> ?.*/k
テストデータを以下に示します。
aaaaaaaaa
>bbbbbbbbbbbbb
> ccccccccccccccccc
>>ddddddddddddddddddd
>> eeeeeeeeeeeee
> >fffffffffffffffff
> > ggggggggggggggggggggg
>>>hhhhhhhhhhhhhhhhhhhhhhh
>>> iiiiiiiiiiiiiii
> > >jjjjjjjjjjjjjjjjj
> > > kkkkkkkk
aaaaaaaaa
>bbbbbbbbbbbbb
> ccccccccccccccccc
>>ddddddddddddddddddd
>> eeeeeeeeeeeee
> >fffffffffffffffff
> > ggggggggggggggggggggg
>>>hhhhhhhhhhhhhhhhhhhhhhh
>>> iiiiiiiiiiiiiii
> > >jjjjjjjjjjjjjjjjj
> > > kkkkkkkk