open-iscsi / targetd

Remote configuration of a LIO-based storage appliance
GNU General Public License v3.0
71 stars 28 forks source link

Fix tiny regex issue #58

Closed dsonck92 closed 4 years ago

dsonck92 commented 4 years ago

Range was likely not intended in this location as . till _ also includes a-zA-Z and a bunch more, so it has to be escaped. Additionally, it's better to use a raw string as the \ only escapes regex parts.