| Cobra | Interactive Query Language | extend | ||
|---|---|---|---|---|
NAMEextend — retain marks only if they are followed by a specific next tokenSYNTAXe[xtend] pattern [pattern2] DESCRIPTIONCurrently marked tokens are only retained if the immediately following token matches the pattern(s) specified.EXAMPLESAs in the mark command, the first pattern may be written as a regular expression, as in:: e /. \( # match any token (/.) followed by a (Other examples:
: m @ident \( # try to find function declarations
: n # move mark to the start of the parameters
: j # jump to end of parameters
: e { # keep only marks that are immediately followed by a {
SEE ALSOpatterns |
||||
|
Return to index Manual Tutorial |
(Last Updated: 7 May 2017) | |||