group userregexps are overkill




17 years ago
5 years ago


(Reporter: bbaetz, Unassigned)





17 years ago
Currently, bugzilla lets you use a perl regexp to set the default groups for new
users. In discussion, its come up that this is overkill. Instead, we should
provide for a | separated list of 'things to match on the RHS of the address'.
This would allow us to do queries in the db (which doesn't support perl regexps,
although we can use POSIX ones instead. It would also be easier for admins to
set up correctly.
keep in mind that sometimes you might want to set a group regexp that matches
stuff on the LHS, too.


Comment 2

16 years ago
I'd rather not see the regexps go all the way back to GLOB-type patterns.   
How about using the POSIX regexps and providing some help for admins who don't

We could let the system use POSIX regexps internally, but let a param cause the
administrative UIs to simplify the interface.
neither Sybase nor Postgres support regexps.

(Postgres does with a third-party add-on in contrib, but no idea how up-to-date
that is)

Comment 4

16 years ago
Postgres seems to support POSIX regular expressions....

It also mentions an "SQL99" Regexp that looks like a compromise between a POSIX
re and the "like" operation.   

Does Sybase support anything??? ;-)


Comment 5

16 years ago
what joel said. The operator is different, but we be be able to install a custom
operator to use the same syntax from within the .cgi.


16 years ago
OS: Linux → All
Hardware: PC → All
Reassigning bugs that I'm not actively working on to the default component owner
in order to try to make some sanity out of my personal buglist.  This doesn't
mean the bug isn't being dealt with, just that I'm not the one doing it.  If you
are dealing with this bug, please assign it to yourself.
Assignee: justdave → administration
QA Contact: mattyt-bugzilla → default-qa
Regexps see to have worked fine for the past decade.

Last Resolved: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.