Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7866
bug29025.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:35 PM
2014-11-21 23:35:16 (UTC+0)
Size
848 B
Referenced Files
None
Subscribers
None
bug29025.patch
View Options
Index: includes/parser/Parser.php
===================================================================
--- includes/parser/Parser.php (revision 88331)
+++ includes/parser/Parser.php (working copy)
@@ -1155,8 +1155,8 @@
(<a[ \t\r\n>].*?</a>) | # m[1]: Skip link text
(<.*?>) | # m[2]: Skip stuff inside HTML elements' . "
(\\b(?:$prots)$urlChar+) | # m[3]: Free external links" . '
- (?:RFC|PMID)\s+([0-9]+) | # m[4]: RFC or PMID, capture number
- ISBN\s+(\b # m[5]: ISBN, capture number
+ (?:RFC|PMID)\ +([0-9]+) | # m[4]: RFC or PMID, capture number
+ ISBN\ +(\b # m[5]: ISBN, capture number
(?: 97[89] [\ \-]? )? # optional 13-digit ISBN prefix
(?: [0-9] [\ \-]? ){9} # 9 digits with opt. delimiters
[0-9Xx] # check digit
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7394
Default Alt Text
bug29025.patch (848 B)
Attached To
Mode
T31025: Magic links are inconsistent with common parser rules
Attached
Detach File
Event Timeline
Log In to Comment