home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / cmplangm / 1989_6 / awk / pat.awk < prev    next >
Text File  |  1987-12-11  |  71b  |  2 lines

  1. NF==1{ if ( $1 ~ /^ab(ab|ba)*abba$/ ) print "yes" ; else print "no" }
  2.