質問

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