• Post Reply Bookmark Topic Watch Topic
  • New Topic

pattern matcher  RSS feed

 
akhter wahab
Ranch Hand
Posts: 151
Java MyEclipse IDE Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey guys i have studied the pattern and matcher classes in the API but not get the clear difference between these two methods please give me the clear understanding and difference between them

and the 2nd ir
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
matcher.group() is the same as matcher.group(0). I'd advise you to read up on capturing groups; group 0 is the entire match.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!