NISUS Archives

March 2010

NISUS@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Hamid Haji <[log in to unmask]>
Reply To:
Date:
Mon, 29 Mar 2010 15:52:23 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On 29 Mar 2010, at 15:44, Kino wrote:

> On Mar 29, 2010, at 11:23 PM, Kino wrote:
> 
>> I think it is impossible to find and select just the letter without using a macro.
> 
> I seem to have found a workaround.
> 
> 	<letter>(?:\b|(?!\p{Latin}))
> 
> finds <letter> at the end of word in Latin script and
> 
> 	<letter>(?:\b|(?!\p{Arabic}))
> 
> finds <letter> at the end of word in Arabic script even if Latin or Arabic letters are used as note references which do not seem to be treated as belonging to any character class.

Thank you for your replies.
I only want to change the last letter in Arabic words so that instances of indefinite direct object are marked correctly.
Using the Script option seems to the best solution.

Hamid

ATOM RSS1 RSS2