Forrest logo
back to the \d+<Enter>N tool

kak:tldr:f71d3

kak: Search for numbers and select the first two.
$ /\d+N
try on your machine

This command is a regular expression command that searches for a pattern in a string.

  • /\d+ is the regex pattern that matches one or more digits. The \d represents any digit character, and the + quantifier means to match one or more occurrences of the preceding character or group.

  • <Enter> represents pressing the Enter key. So this command expects the user to press the Enter key after entering the pattern.

  • N is a command in some text editors or search tools that searches for the next occurrence of the pattern in the text.

Overall, this command is used to search for and navigate through a text document, finding and moving to the next occurrence of one or more digits.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the \d+<Enter>N tool