https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20334

--- Comment #31 from David Gustafsson <[email protected]> ---
Hi! I see two major problems with this approach. Firstly, I don't think
librarians generally expect, for example, the search terms "Directive 95/46/EC"
to be interpreted as containing a regular expression. I would guess that the
fraction of librarians who would ever use regular expressions in searches can
be rounded down to zero :) I would probably never use it myself.

The second problem is that it's probably really nasty to implement as a regular
expression, perhaps not even possible, that is: escaping of unescaped slashes
if the slash is odd and not in a quoted context. Would probably have to write
some kind of parser. Since I think that strings within slashes are generally
not meant to be regexps by those who generally use the search interface I went
for the two options either to disable them completely, or be allowed, but using
a syntax that one would probably not enter accidentally.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to