Quote:
Originally Posted by cybmole
i have a book in which all instances of words containing ll are ocrrupt. the double l is mis-scanned as a single l + a space i.e. follow has become fol ow.
I tried to construct a regex to use in find + replace so that I could make a replace or find next choice on every hit.
the find is easy \wl w\
but I cant figure the replace syntax to take the found expression, reuse the word boundary characters, and substitute ll for l+space. it's reusing the word boundary detects that is baffling me.
i shoudl probably also make use of the fact the ll occurs only after a vowel ( i think) in correctly spelled english
so something like this would be better for the find expression ?
[AEIOUaeiou]l \[a-z]
i still then need to reuse the "found" characters
|
Paren around groups. \a_digit to reuse groups found
Match case:
S: ([AEIOUaeiou]l) (\[a-z])
R: \1l \2
But STOP
Gil will not swill beer
will turn into a pile