Use regexp? predicate instead of checking "source" properlty on regexp instances.
Add slice function.