Re: Search and replace w/ ignoring arbitrary characters

2011-08-10 Thread Frank Müller
in f[##o]o(ba##r) ? again, thanks for any ideas and hints, Frank On 9 Aug., 02:34, jwkr...@shaw.ca ("John W. Krahn") wrote: > Frank Müller wrote: > > dear all, > > Hello, > > > i want to make some search and replace within a string where I can > > define a s

Search and replace w/ ignoring arbitrary characters

2011-08-08 Thread Frank Müller
dear all, i want to make some search and replace within a string where I can define a set of characters, especially parenthesis, brackets etc., which are to be ignored. For example, I have the following string: sdjfh sdf sjkdfh sdkjfh sdjkf f[o]o(bar) hsdkjfh sdkljfhs sjfh sdkj sdjkfh sdjfh ska

install patch to module Text::LevenshteinXS

2010-07-20 Thread Frank Müller
dear all, I want to make use of the module Text::LevenshteinXS, I installed it via perl -MCPAN -e 'shell'. While using it I noticed that the module isn't UTF safe, so I searched the internet and found: https://rt.cpan.org/Public/Bug/Display.html?id=36685 There one can download a patch for this mo

Unicode::Collate string replacements and whitespace

2010-03-31 Thread Frank Müller
dear all, I'm making some string replacements with Unicode::Collate which generally works fine but for whitespace. I have the following simple code (adopted from the module documentation): my $myCollator = Unicode::Collate->new( normalization => undef, level => 1 ); my $str = "Camel donkey zebra c