Cobra Interactive Query Language next

NAME

next — move all current marks forward to the immediately following token

SYNTAX

	n[ext]
	n[ext] pattern
	n[ext] pattern1 pattern2

DESCRIPTION

Move all current marks forward either one token (if no pattern is specified), or to the first token that matches the pattern(s).

EXAMPLES

	: n		# move each mark to the immediately following token
	: n /foo	# move to the first subsequent token that matches the regular expression
	: n ) {		# move to the first subsequent occurrence of ) followed by {
	: n @ident :	# move to a name followed by a colon
	: n \(		# move to the next (
	: n (.lnr > 600) # move mark to the next token at a line number larger than 600

SEE ALSO

back, jump, patterns

Return to index
Manual
Tutorial
(Last Updated: 7 May 2017)