DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
Regex: Match Last Occurrence aka Negative Lookbehind
foo(?!.*foo) # foo(1) bar(1) foo(2) bar(2) foo(3) bar(3) # expression would match 'foo(3)'
Source by is.gd #
PREVIOUS
NEXT
Tagged:
#Match
#Last
#Occurrence
#aka
#Negative
#Lookbehind
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit