stillflame
Programmer
- Jan 12, 2001
- 416
This isn't a problem, more a question about an accidental solution.
Here's the meat of it:
[tt]m/^*$/[/tt] will match any string. Why is this? i played around, and, in fact, [tt]m/^*/[/tt] will also match any string, but [tt]m/^$/[/tt] will only match a null string, and [tt]m/*$/[/tt] and [tt]m/*/[/tt] both give an error (as they should).
any help is appreciated. "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
Here's the meat of it:
[tt]m/^*$/[/tt] will match any string. Why is this? i played around, and, in fact, [tt]m/^*/[/tt] will also match any string, but [tt]m/^$/[/tt] will only match a null string, and [tt]m/*$/[/tt] and [tt]m/*/[/tt] both give an error (as they should).
any help is appreciated. "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."