Modify

Opened 8 years ago

Closed 8 years ago

#1703 closed enhancement (worksforme)

Non-ascii acronyms

Reported by: yura ivanov Owned by: athomas
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 8 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 8 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 8 years ago by alexta

comment:2 Changed 8 years ago by yura ivanov

  • Resolution set to worksforme
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain athomas.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.