正規表現(Regular Expression)

(?<=pattern)
A zero-width positive look-behind assertion.
For example, /(?<=\t)\w+/ matches a word that follows a tab, without including the tab in $&.
Works only for fixed-width look-behind.

(?<=regex1)regex2は、regex1 に続くregex2 という文字列にマッチする。ただしregex1はマッチに含まれない。

Leave a Reply