relations.rematches_relation
relations.rematches_relation(lhs, rhs)
Does the lhs match a regex for rhs?
Parameters
Name | Type | Description | Default |
---|---|---|---|
lhs |
str | left hand side | required |
rhs |
str | right hand side (must be valid regex.) | required |
Returns
Type | Description |
---|---|
bool | True or False |