Re: regexps

Nathan Fiedler <[email protected]> 28 Feb 2003 09:38:34 -0800
Newsgroups gmane.comp.java.jswat.user
Organization Blue Marsh Softworks
Message-ID <1046453913.27418.3.camel@nuts>
The regexp package (java.util.regex) in Java is pretty close to the
standard. There are books that go into great depth, and I recommend
"Mastering Regular Expressions" by Jeffrey Friedl. A good Perl book will
also discuss regular expressions, so that would be another place to
look.

Given the generally thorough coverage by other publications, I have kept
the information in JSwat to a minimum. Fortunately, if you don't know
regular expressions, you don't have to in order to use the jswat
commands.

n


On Fri, 2003-02-28 at 01:48, Joseph R. Kiniry wrote:
> Does anyone have any definitive examples of using regexps in jswat to 
> specify thread and objects for watchpoints and similar?  The included and 
> online docs mention that it can be done and that jswat uses Java's regexp 
> package, but I have yet to get it to work for non-trivial examples (e.g., 
> the thread name starts with character 'c').
> 
> Joe