Closed
Bug 115150
Opened 23 years ago
Closed 14 years ago
LXR regexp searching is limited by glimpse constraints
Categories
(Webtools Graveyard :: MXR, defect)
Webtools Graveyard
MXR
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sfraser_bugs, Assigned: timeless)
References
()
Details
I'm having zero luck finding things with an lxr regexp search, like:
PRBool[\t ]+m[A-Z]
Did someone break this?
http://lxr.mozilla.org/nspr/search?string=%7B+%22AA%5BBA%5DA®exp=on
works.
I'm guessing that each of:
+
?
\t
are broken.
* works, so for now, you can work around +.
http://lxr.mozilla.org/nspr/search?string=PRBool++*m%5BA-Z%5D®exp=on
hah, there's documentation
please see http://lxr.mozilla.org/nspr/search-help.html esp the section on:
Regular expressions
_Currently '+' is not supported._
? isn't even listed, so you can forget about it being supported...
that leaves the fact that i can't convince \t to work.
http://lxr.mozilla.org/nspr/search?string=%5Ct%5Ct*%5BA-Z%5D®exp=on <-
searching for 't' :-(
http://lxr.mozilla.org/nspr/search?string=%5C%5C%5Ct%5C%5C%5Ct*%5BA-Z%5D®exp
=on <- searching for '\'.'t' :-(
http://lxr.mozilla.org/nspr/search?string=%5C%5Ct%5C%5Ct*%5BA-Z%5D®exp=on
<- searching for '\'.'t' :-(
offhand, i don't remember ever having \t work.
this works [for some definition of works]:
http://lxr.mozilla.org/seamonkey/search?string=PRBool++*m%5BA-Z%5D®exp=on
Too many hits, displaying first 1000
PRBool *m[A-Z] <- note that there's another bug here. we don't use or
<pre> so the browser helpfully collapses the two spaces. I'll make sure that
bit is fixed.
*** Bug 141493 has been marked as a duplicate of this bug. ***
Comment 5•19 years ago
|
||
Mass reassign of open bugs for chase@mozilla.org to build@mozilla-org.bugs.
Assignee: chase → build
Updated•19 years ago
|
QA Contact: timeless → lxr
Comment 6•19 years ago
|
||
Reassigning all LXR bugs assigned to build@mozilla-org.bugs to the default LXR owner (sorry Bear!)
We aren't actively working on these (if that's wrong, please reassign to yourself/a real person).
Assignee: build → bear
QA Contact: lxr → timeless
Updated•18 years ago
|
QA Contact: timeless → lxr
Simon, so mxr now enables you do what you want by using the filter field.
http://mxr.mozilla.org/seamonkey/search?string=PRBool++*m[A-Z]®exp=1&filter=PRBool[\t+]%2Bm[A-Z]
This is underdocumented, but basically the filter field allows you to use perl regular expressions so as long as you can construct some search which is a bit broad using glimpse terms you can then narrow it to what you actually want.
I understand this isn't ideal, and I think mxr can sometimes suggest you switch to using filter, and in some cases it will actually switch things for you.
Assignee: bear → timeless
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Summary: LXR regexp searching is broken → LXR regexp searching is limited by glimpse constraints
Updated•5 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•