문제

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.

도움이 되었습니까?

해결책

\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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top