The code:
should really be:/([^|]+)\|(.*)/; $keywords{$1} = $2;
- never use $1 and friends unless you actually get a match, or your results may be unpredictable./([^|])\|(.*)/ and $keywords{$1}=$2;
In reply to Re: Re: Re: Re: Re: Re: Auto linking to words in a text file
by turnstep
in thread Auto linking to words in a text file
by belize
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |