| |||
Views: 88,498,125 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-28-24 11:15 PM |
|
Guest: Register | Login |
0 users currently in Help/Suggestions/Bug Reports | 1 guest |
Main - Help/Suggestions/Bug Reports - Problems with [quote] | New thread | New reply |
stag019 |
| ||
Snifit Level: 40 Posts: 31/299 EXP: 409677 Next: 31632 Since: 02-19-07 Last post: 4282 days Last view: 2169 days |
Posted by User 1"][quote="User 2What User 2 said. Posted by UserEven worse, try changing either ] to ] in this post. That's what (.*?) does though. Why not try ([^"]*?) for between the quotes (being sure to escape that double quote if need be)? Then if any name has double quotes in it, replace it with ". |
Xkeeper |
| ||
Level: 105 Posts: 926/2846 EXP: 12030651 Next: 231609 Since: 02-19-07 Last post: 6062 days Last view: 2799 days |
I don't do regular ex Honestly, this was really just a hacked up version of the "[ And besides, unless there's something evil you could do via it, there's no real reason to break it. (Although I'm pretty sure usernames with " aren't allowed anyway, maybe I should check) ____________________ I dealt with it. |
stag019 |
| ||
Snifit Level: 40 Posts: 32/299 EXP: 409677 Next: 31632 Since: 02-19-07 Last post: 4282 days Last view: 2169 days |
Posted by "Xkeeper"If you let me have a look at that part of the code, I could fix it up for you. Or maybe Acmlm or blackhole89 can see this thread and fix it. Posted by "Xkeeper"I kinda figured. That's how I first started getting into regexp. Posted by "Xkeeper"But see, I don't think I made this clear enough, but the first quote set in that post should be completely legit and working, but it isn't working. I saw this in some thread (but can't find it anymore), so I reported it. |
Stifu |
| ||
Cobrat Level: 56 Posts: 49/666 EXP: 1361565 Next: 36611 Since: 02-22-07 Last post: 688 days Last view: 310 days |
Posted by Xkeeper You should... |
Kernal |
| ||
Gone Level: 88 Posts: 789/1881 EXP: 6463485 Next: 187179 Since: 02-20-07 Last post: 6149 days Last view: 6139 days |
I always thought regular ex |
stag019 |
| ||
Snifit Level: 40 Posts: 34/299 EXP: 409677 Next: 31632 Since: 02-19-07 Last post: 4282 days Last view: 2169 days |
Posted by KernalRegular ex |
Xkeeper |
| ||
Level: 105 Posts: 933/2846 EXP: 12030651 Next: 231609 Since: 02-19-07 Last post: 6062 days Last view: 2799 days |
The first one isn't valid because [ ____________________ I dealt with it. |
Stifu |
| ||
Cobrat Level: 56 Posts: 50/666 EXP: 1361565 Next: 36611 Since: 02-22-07 Last post: 688 days Last view: 310 days |
I think you shouldn't bother with compatibility, and just stop supporting the version without quotes... |
Kernal |
| ||
Gone Level: 88 Posts: 796/1881 EXP: 6463485 Next: 187179 Since: 02-20-07 Last post: 6149 days Last view: 6139 days |
But wouldn't that break some old posts on this board? |
Xkeeper |
| ||
Level: 105 Posts: 939/2846 EXP: 12030651 Next: 231609 Since: 02-19-07 Last post: 6062 days Last view: 2799 days |
Yes, and also old posts quoted from the older board (which I do occasionally).
____________________ I dealt with it. |
Stifu |
| ||
Cobrat Level: 56 Posts: 51/666 EXP: 1361565 Next: 36611 Since: 02-22-07 Last post: 688 days Last view: 310 days |
You could also support the [ |
Kernal |
| ||
Gone Level: 88 Posts: 811/1881 EXP: 6463485 Next: 187179 Since: 02-20-07 Last post: 6149 days Last view: 6139 days |
Is there a way to have it ignore any double quotes at the beginning or end of the provided username? |
Stifu |
| ||
Cobrat Level: 56 Posts: 55/666 EXP: 1361565 Next: 36611 Since: 02-22-07 Last post: 688 days Last view: 310 days |
Yeah. But it'd require more than that to fix the problem... Like usernames with ] in them, and stuff, which would also break the old quote tag. |
HyperHacker |
| ||
... Level: 73 Posts: 4/1220 EXP: 3367463 Next: 118405 Since: 03-25-07 From: no Last post: 6094 days Last view: 6077 days |
Posted by KernalRegular ex |
Main - Help/Suggestions/Bug Reports - Problems with [quote] | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 67, rows: 89/90, time: 0.016 seconds. |