Allowed /dev/urandom access.

Made regexen more correct.

@Xyene [so|py] is a character class containing s, o, |, p, and y.