Pergunta

I was viewing this answer and I noticed that the delimiter was set to \\A, which is a beep, right? Why is a beep used in the InputStream? I'm still pretty fuzzy on what a beep even is (Isn't is just for a literal beep?), so I am quite confused as to why it's used as the delimiter, here.

Foi útil?

Solução

\A is the beginning of the string. It differs from ^ in that most regex implementations ^ matches after line breaks as well, while \A does not.

\a is the bell character.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top