Last Modified
2014-03-06 22:10:35 +0000
Requires

Description

Either positive or negative lookahead, doesn't consume its input.

Example:

str('foo').present? # matches when the input contains 'foo', but leaves it