in reply to Re^3: Date::Manip and German months names (solved)
in thread Date::Manip and German months names
Yes, that looks like a good (simple) solution. Interestingly though
s/(^|[^[:alpha:]])$from($|[^[:alpha:]])/$1$to$2/i;
only works for me when I use locale (which I may not necessarily want to do in this case), while
s/(^|[^\p{IsAlpha}])$from($|[^\p{IsAlpha}])/$1$to$2/i;
does work without...
My solution will also make "MÄR" work
...presuming other changes will be made as well — i.e. adding another list of month abbreviations to the definition of $$d{"month_abb"}=...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Date::Manip and German months names (solved)
by ikegami (Patriarch) on Jul 10, 2008 at 00:15 UTC | |
by almut (Canon) on Jul 10, 2008 at 00:54 UTC | |
by ikegami (Patriarch) on Jul 10, 2008 at 01:38 UTC |