aspose file tools*
The moose likes Java in General and the fly likes Need explanation on how Lookahead example work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need explanation on how Lookahead example work" Watch "Need explanation on how Lookahead example work" New topic
Author

Need explanation on how Lookahead example work

Jack Bush
Ranch Hand

Joined: Oct 20, 2006
Posts: 235
Hi All,

I need your advice on explaining how the following regular expression example, illustrated on the last paragraph from
http://www.regular-expressions.info/lookaround.html:



I just understand how there is a mis-matched between after the lookahead had been discarded. Moreover, what is the correct regular expression?

Thanks a lot,

Jack
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need explanation on how Lookahead example work