Apostrophes not being matched

1

So this is an issue I've noticed for a while, but haven't really gotten around to nailing down the details until now. Basically, when using a filter to attempt to match an apostrophe in certain circumstances (that is to say, not in all cases), it won't work, either with the ' character or a dot. However, testing has shown that it will be matched with six repeated dots (as in, .{0,6}).

Take https://boards.4chan.org/a/res/82248685 as an example. The "you're" is not matched with /you're/ or /you.{0,1}re/ (or {0,2} through {0,5}), but it is matched with /you.{0,6}re/. https://boards.4chan.org/a/res/82248207 appears to be another example.

Is there a reason why this would be? Is there something that needs to be fixed? Thanks.

2

Use html entities for special characters.

' for the apostrophe: /you're/

" for "
> for >
etc...

3

>>2
Thanks.

4 !ADzLtCF/vBTp

>>2
&#0954

Reply

Preview?