Skip to content

Instantly share code, notes, and snippets.

@ggteixeira
Last active November 27, 2019 14:13
Show Gist options
  • Save ggteixeira/0a0078aa58133fbefd6f248cb947fa17 to your computer and use it in GitHub Desktop.
Save ggteixeira/0a0078aa58133fbefd6f248cb947fa17 to your computer and use it in GitHub Desktop.
Dá match em quaisquer verbos no infinitivo (flexionado e não flexionado) #Regex
/ar$\|arem\|er$\|erem\|ir$\|irem
Este jeito é mais "vimístico":
/\(\w*ar\>\|\w*er\>\|\w*ir\>\|\w*arem\>\|\w*erem\>\|\w*irem\>\)/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment