sublime-robot-plugin
sublime-robot-plugin copied to clipboard
support for variables in keyword names
For example, a keyword could be defined as such: (from user guide)
Select ${animal} from list Select "${city}" "${team}" I execute "${cmd:[^"]+}" I type ${a:\d+} ${operator:[+-]} ${b:\d+} Today is ${date:\d{4}-\d{2}-\d{2}}
http://robotframework.googlecode.com/hg/doc/userguide/RobotFrameworkUserGuide.html?r=2.7.5#embedding-arguments-into-keyword-name
it should be possible to replace the variable string ${...} with a regex, and for keywords that use regex, we can leave the regex there. then attempt to match
robot/running/userkeyword.py contains code for matching keywords with embedded variables