View Single Post
Old 06-19-2012, 10:35 AM   #8
dFGJByjm4898IssG began at the beginning.
Posts: 11
Karma: 10
Join Date: Jun 2012
Device: None
Still not working. The test file is

spe00095428 The Application of Cutoffs in Integrated Reservoir Studies.pdf

If I use (?P<title>.{8}) I get 00095428 in the title field which is what I want.

I then create a Custom Column called Reference with a look up name of #reference

I then change regular expression to (?P<#reference>.{8}) and I get

calibre, version 0.8.56
ERROR: Unhandled exception: <b>error</b>:bad character in group name

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\", line 324, in commit
File "site-packages\calibre\gui2\preferences\", line 124, in commit
File "site-packages\calibre\gui2\", line 149, in commit
File "site-packages\calibre\gui2\", line 146, in pattern
File "", line 190, in compile
File "", line 242, in _compile
error: bad character in group name

What I am I doing wrong?

I appreciate very much your help.
dFGJByjm4898IssG is offline   Reply With Quote