Thread: What a regex is
View Single Post
Old 05-05-2010, 10:24 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,380
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Actually, adding history to the regex box is on my TODO list as I have indicated on the tickets. The way I see it working is like this:

Have (name, regex pairs) where name is something descriptiove like

Title - author - series - series_index

Have a few predefined regexes with useful names like that.

Allow the user to define new (name, regex) pairs either by modifying the builtin ones or writing them from scratch.
kovidgoyal is offline   Reply With Quote