/^R..$/
That will match ray but also ray\n, but not ra\n.
\z is end of string, /s makes . match \n./^R..\z/s
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
In reply to Re: Re: Wildcard?
by Juerd
in thread Wildcard?
by bobothesmart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |