pattern to regex was not producing properly escaped regex. also added comments to help others better understand the code
pattern to regex was not producing properly escaped regex. also added comments to help others better understand the code

cfwheels/cfwheels,cfwheels/cfwheels,cfwheels/cfwheels