|Pathologically Eclectic Rubbish Lister|
regexp::assemble and dispatch-table with unicodeby ajan (Initiate)
|on Jan 08, 2010 at 15:38 UTC||Need Help??|
ajan has asked for the wisdom of the Perl Monks concerning the following question:
Im trying to make some regex mainly changing spaces between special words to be smaller spaces (needed for nice pdf printout).
Because there are many cases to match and I have do do it on large textfiles for each paragraph (depending on the individual style there are different sets of replacement) i'm just playing with regex::assemble.
Sadly, the script crashes when i try to replace space with eq Unicode Thin Space chr (0x2009).
Here is my code so far:
I would be glad if i can get some enlightment from you
Thanks in advance
Update: just do say it correct, the script does not crash, it hangs (and i suppose it will hang forever...