thanks hixxy. i have another problem with a code you gave me a while back

Code:
alias test {
  var %str = Tom Jones
  if ($regex(%str, /([A-Z][a-z]{2}) (?1)/)) { echo -a pass! }
}


i only want it to echo pass if the 2 words in the string are length 3 (and both words start with a caps letter), why does it echo 'pass' in the above case?

Last edited by pouncer; 02/12/07 01:49 AM.