>>> from should_dsl import *
>>> import re

>>> 'Hello World' |should| be_like(r'Hello W.+')

>>> '123 is a number' |should| be_like(r'^[12]+ is a number')
Traceback (most recent call last):
    ...
ShouldNotSatisfied: '123 is a number' is not like '^[12]+ is a number'

>>> 'Hello\nWorld' |should| be_like(r'Hello.+', re.DOTALL)

>>> 'Hello\nWorld' |should| be_like(r'hello.+', re.DOTALL)
Traceback (most recent call last):
    ...
ShouldNotSatisfied: 'Hello\nWorld' is not like 'hello.+' with given flags

>>> 'Hello\nWorld' |should_not| be_like(r'hello.+', re.DOTALL + re.IGNORECASE)
Traceback (most recent call last):
    ...
ShouldNotSatisfied: 'Hello\nWorld' is like 'hello.+' with given flags

