Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 16.0 (home page)Version 15.0 (home page, current version)Version 14.0 (home page)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 9.0 (home page)Version 8.0 (home page)Version 7.0 (home page)Version 6.0Version 5.0 (home page)Version 4.0 (home page)

On this page

optany statement

Description

optany(snStore)

The optany statement will match any character that is in the store snStore, or nothing. This statement is only valid on the left side of a rule, not in the key or in the right-hand-side. The index statement is used to match again or output the character (if any) matched by the optany statement in the output.

Examples

optany(chars) + 'a' > index(output,1) 'b'