Hi Pat, I have amended the re as you suggested, on your sayso that it works. If it turns out to break in some contexts, we'll have to look for some other change that will allow underscores to begin package names. - Paul Keeper of the JDE >At 03:31 PM 11/3/99 -0800, Patrick J. McNerthney wrote: >Keepers of the JDE, > > The jde-db-make-qualified-class-name-regexp function does not work >with a package name that I am using that starts with an underscore >(_). In other words, my package name is something like this: > >package _rootLevel.nextLevel.lastLevel; > > The problem is because the regular expression being generated starts >with "\b", which specifies the start of an emacs "word". Since an >underscore is not considered by emacs to be part of a word, the >underscore is skipped. I have found that removing the initial "\b" >from the regular expression does in fact fix my problem and does not >appear to break anything. > > Here is the changed version: > >;; Thanks to "David J. Biesack" <[EMAIL PROTECTED]> for this function >;; and its use in jde-db-marker-filter. >(defun (class) >"Constructs a regular expression to extract a qualified class name >from a jdb >breakpoint message." >;; (concat "\\b\\(\\(\\(\\(\\w\\|[_]\\)*\\.\\)*\\)" class >"\\)\\(\\b\\|\\$\\)")) > (concat "\\(\\(\\(\\(\\w\\|[_]\\)*\\.\\)*\\)" class >"\\)\\(\\b\\|\\$\\)")) > > >Thanks, >Pat McNerthney >Icicle Software, Inc. > >
