|
|
#1 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 531
Karma: 2268308
Join Date: Nov 2015
Device: none
|
re module issue
I've made a custom function, which uses the re module, and it seems to compile fine. But when I use it in the template window, the result box shows "EXCEPTION: the global name 're' not defined."
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,718
Karma: 28549306
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Add
import re inside your function |
|
|
|
| Advert | |
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Where/what is the winutil module? | lisabeeren | Development | 2 | 10-28-2015 10:37 AM |
| where is init_calibre module? | stef5636 | Development | 1 | 05-25-2012 10:58 AM |
| Webmin Module? | godzilla8nj | Calibre | 1 | 05-16-2012 10:08 PM |
| ELM327 OBDII module | MasterTec | enTourage eDGe | 3 | 08-06-2011 02:09 AM |
| 'mechanize' module? | itimpi | Calibre | 2 | 01-22-2009 04:42 PM |