Find words with alternating vowels and consonants: Difference between revisions

Content added Content deleted
Line 155: Line 155:
on run
on run
set regex to "^.*([aeiou]{2}|[^aeiou]{2}).*$"
set regex to "^.*([aeiou]{2}|[^aeiou]{2}).*$"
set query to "(9 < SELF.length) AND NOT (SELF matches '" & regex & "')"
set query to "(9 < self.length) and not (self matches '" & regex & "')"
set fpWordList to scriptFolder() & "unixdict.txt"
set fpWordList to scriptFolder() & "unixdict.txt"