Las expresiones regulares son muy útiles en Unix por eso tener una chuletilla con ellas (o casi todas) siempre está bien.
Posicionamiento
- ^
- Start of line **
- \A
- Start of string **
- $
- End of line **
- \Z
- End of string **
-
- Word boundary **
- \B
- Not word boundary **
- \<
- Start of word
- \>
- End of word