The any() function returns a match if the character that is being evaluated matches any character in <character_string>.

any(<character_string>)

In the following script, the any() function matches with the first four characters of the input file. The next character causes the pattern to fail and the DEFAULT rule runs.

ASL Script (any_match.asl):
START {
 a:any("abc")
}
do {  print("Matched with ".a);
}
DEFAULT {  ..eol
}
do {
 print("Failed match");
}
Input (any_match.txt):
bbacxy
Output:
$ sm_adapter --file=any_match.txt any_match.asl
Matched with b
Matched with b
Matched with a
Matched with c
Failed match
$