|Pathologically Eclectic Rubbish Lister|
Re^2: Creating new character classes for foreign languagesby Polyglot (Pilgrim)
|on May 17, 2009 at 04:00 UTC||Need Help??|
Your answer was excellent, and I thank you. It was just what I needed to get me started. I did some reading at the site that JavaFan also recommended and it was good too. I need to absorb more of it, I think, but that will come in time.
I have two questions now, that I have run into a need for, which I do not see addressed anywhere. The first is a very simple question.
1) Is it permissible to comment somehow within the subroutine's character set block? For example:
2) Is it possible to define a double-character property? For example, the Thai 'r' becomes a vowel if, and only if, there are two of them together, as in 'rr'. It is then pronounced differently, and is no longer strictly an 'r'. How might I handle this? I suppose this would require some look-ahead assertions...but could these be incorporated into the subroutine in some way?
Thank you so much for your helpfulness!