fix for different regex in commit b3c1ef8e5c63a3d556bce118c63a819df221b0d3