I am working on a lengthy Farsi text with the help of a perl script which has slowly grown into a great tool.

But some patterns refuse to budge and I am totally clueless what to do.

Original text

متی

starting at position 1 and ending the line with a return.

My regex

s/^متی$/<title>$&<\/title>/;

finds all lines with the word at whatever in sentence position - instead of picking only lines with the single word متی on the line.

What am I doing wrong?

Thanks

Peter

_______________________________________________
sword-devel mailing list: [email protected]
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to