Re: Starting Bengali wikipedia

Timwi <[email protected]> Sun, 29 Feb 2004 04:01:55 +0000
Newsgroups gmane.science.linguistics.wikipedia.international
Message-ID <[email protected]>
Shah Asaduzzaman wrote:

> Also about the "linktrail"   => "/^([a-z]+)(.*)\$/sD", issue…
> Bengali uses the unicode characters
> The vowels অ - ঔ  and
> The consonants ক - ম য র ড় ঢ় ল ষ শ স হ য়  ং ঃ  ঁ  
> 
> Could you please help to correctcly encode the regular expression?

I suppose that would make it

/^((ং|ঃ|অ|আ|ই|ঈ|উ|ঊ|ঋ|ঌ|এ|ঐ|ও|ঔ|ক|খ|গ|ঘ|ঙ|চ|ছ|জ|ঝ|ঞ|ট|ঠ|ড|ঢ|ণ|ত|থ|দ|ধ|ন|প|ফ|ব|ভ|ম|য|র|ল|শ|ষ|স|হ|া|ি|ী|ু|ূ|ৃ|ৄ|ে|ৈ|ো|ৌ|্|ৗ|ড়|ঢ়|য়|ৠ|ৡ|ৢ|ৣ|০|১|২|৩|৪|৫|৬|৭|৮|৯|ৰ|ৱ|৲|৳|৴|৵|৶|৷|৸|৹|৺|[a-z])+)(.*)\$/sD

or

/^((ং|ঃ|অ|আ|ই|ঈ|উ|ঊ|ঋ|ঌ|এ|ঐ|ও|ঔ|ক|খ|গ|ঘ|ঙ|চ|ছ|জ|ঝ|ঞ|ট|ঠ|ড|ঢ|ণ|ত|থ|দ|ধ|ন|প|ফ|ব|ভ|ম|য|র|ল|শ|ষ|স|হ|া|ি|ী|ু|ূ|ৃ|ৄ|ে|ৈ|ো|ৌ|্|ৗ|ড়|ঢ়|য়|ৠ|ৡ|ৢ|ৣ|ৰ|ৱ|৲|৳|৴|৵|৶|৷|৸|৹|৺|[a-z])+)(.*)\$/sD

depending on whether you want to include the digits or not.

No guarantee here :)