regex


Description:

public Action regex (Regex regex)

Set the regex to respond to. Will override path().

Parameters:

regex Regex object. Will not match leading /.

Returns:

Instance of this Action