Implement soft kill
Fix typo in regex.matc