![]() |
![]() |
3 Einträge, 1 Seite |
1
2
perl -ne 'print if s#(?</dev)/md0#lalala#x' </etc/mtab
Sequence (?</...) not recognized in regex; marked by <-- HERE in m/(?</ <-- HERE dev)/md0/ at -e line 1.
Quote# (?<=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.
# (?<!pattern)
A zero-width negative look-behind assertion. For example /(?<!bar)foo/ matches any occurrence of "foo" that does not follow "bar". Works only for fixed-width look-behind.
Quote(?<...)
A zero-width positive lookbehind assertion. For example, /(?<bad)boy/ matches the word boy that follows bad, without including bad in $&. This works only for fixed-width lookbehind.
![]() |
![]() |
3 Einträge, 1 Seite |