Specific syntax? java.util.regex.Pattern$Node
Thank you for reading my post :) .
I was considering the following package: "java.util.regex",
when I met the following thing:
and also for instance:
- static class: [B]Pattern.Node[/B]
=> I am wondering what is that "dollar character" that appears above in
- static final class: [B]Pattern.Begin[/B]
"Pattern$Node" or "Pattern$Begin".
Is this "$" character a character like any other one?
Or is it a specific construct... ?
=> What is "Pattern.Begin"?
Is it the name of a class with a dot character right in the middle of it?
=> Why do we have those two distinct forms of what appears to be the
same thing "Pattern.Begin" and "Pattern$Begin"?
Thank you for helping me.
All the best,