I\'m getting this odd error in the preg_match() function:
Warning: preg_match(): Compilation failed: range out of order in character class at offset 54
The l
I was receiving this error with the following sequence:
[/-.]
Simply moving the . to the beginning fixed the problem:
.
[./-]