Hello, I need to find the words in a corpus, which letters are in the alphabetical order ("almost", "my" etc.) I started with matching two consecutive letters in a word, which are in the alphabetical order, and tried to use this expression: ([a-z])[\1-z], but it won't work, it's matching any sequence of two letters. I can't figure out why... Evidently I can't refer to a group like this, can I? But how in this case can I achieve what I need?
Thank you. -- *Yours faithfully, Dinara Vakhitova*
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor