Modify

Opened 10 years ago

Closed 9 years ago

#1703 closed enhancement (worksforme)

Non-ascii acronyms

Reported by: yura ivanov Owned by: Alec Thomas
Priority: normal Component: AcronymsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Need support for non-ascii acronyms. Very useful plugin, but need that option. Thanx.

Attachments (1)

acronyms.py.patch (506 bytes) - added by alexta 10 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 10 years ago by alexta

This problem appears in regular expression matching. So it can be easily fixed by changing:

valid_acronym = re.compile('^\w+$')

to

valid_acronym = re.compile('^\w+$', re.UNICODE)

Changed 10 years ago by alexta

Attachment: acronyms.py.patch added

comment:2 Changed 9 years ago by yura ivanov

Resolution: worksforme
Status: newclosed

With slightly modified patch from Trac #230 works well with current trac trunk.

Modify Ticket

Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.