Fixed when url isn't matched when in line start

- Replaced `\s` with `\b` in regex
- modified regex to be more strict