URLs in posts, need expert help on a regex for finding them
Nov 17, 2014 18:07:51 GMT -8
Peter and mmhmm like this
Post by Chris on Nov 17, 2014 18:07:51 GMT -8
then can you provide me with PB's regex please, because this is allowed:
tcll5850.proboards.com
^that link obviousely works here, but does not work in the code you provided me.
I'm going for EXACT PB behavior in my plugin :/
so... anything??
you guys know I can't get the src for how PB handles links...
and no return notification while left hanging on the hook has me on delay...
do you want my plugin to display posts like PB displays them??
or do you want users to experience incompatibilities with my plugin??
I may be the developer, but the ones to blame here are the srcs for development...
(that meaning who/what I'm developing for is to blame for not instructing me properly)
I don't see what's so hard with just handing me the (proper) code so I can do stuff right.
(what Eaton posted earlier I was mislead to believe was how PB validates it's links)
^ obviousely that was proven false when tcll5850.proboards.com didn't work in that code.
so... what... we just stop there??
forcing me to use a code I found that seems to validate more links than PB validates??
is that how you guys what my plugin to behave??
causing many noobs to complain to me about things not working like PB with my plugin...
you realize I'll have to direct them here to show them the poor help I'm getting right??
I don't think that'd look good on PB's rep...
I'm trying to avoid that, but if this keeps up, I'll have no choice but to go through with that. :/
logic... people... :/
Keep in mind Proboards does that conversion on the backend and therefore is not limited to using javascript's regular expressions which is considered "light" on features compared to implementations in other languages which is why I mentioned a token parser. I get that you are trying to build a better mousetrap and with Proboards you're easily able to use something other than cheese for bait if it suits your needs, but when you want to redesign the entire trap then you can't get mad when the mousetrap company doesn't offer up schematics for their spring loaded system, you just need to come up with your own.