(this should really be tagged as 7.x-2.x-dev)
In the forum I'm migrating to Drupal, some closing bbcode tags are in the following format:
[/tag:[some alpha character]:uid] - for example: [/list:u:2xzga9j6]
I'll be submitting a patch that modifies the regex to handle and strip the extra chars.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | phpbb2drupal-improve_uid_stripping-1414650-1.patch | 676 bytes | acrollet |
Comments
Comment #1
acrollet commentedpatch attached.
Comment #2
darksnowLooks good.
I've used this same pattern in three different places so I've replaced them all with a call to a new helper function which uses this regex. I'm in the middle of changing media handling, which in part parses content text, so I'll test the lot together before I commit.
Cheers.
Comment #3
JeremyFrench commentedLooks like this was implemented in the
stripUidfunctionComment #4
JeremyFrench commented