[olug] Regex question
    Tim & Alethea Larson 
    thelarsons3 at cox.net
       
    Mon Oct  9 23:22:13 UTC 2006
    
    
  
Matthew Anderson wrote:
> I don't know the answer to your regex issue, but for the problem you  
> have, I'm not sure that you need regular expressions.
> 
> I think it would be faster and easier just to walk through the  
> characters in the file, and examine them one by one.  You swap a  
> character out for something else if the character matches an item in  
> your translation table.  Something like this?
I was kind of thinking that, too.
I know that Lynx has a decent 7-bit representation table for Unicode 
character mapping, if you ever have a need to get into that range.  I've 
contributed to it a couple times.
Tim
-- 
Tim & Alethea
christtrek.org
    
    
More information about the OLUG
mailing list