changes for sandstorm's regex filtering