We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84e8452 + 3dbec81 commit f4b67d7Copy full SHA for f4b67d7
Source/Source.php
@@ -24,7 +24,7 @@ class SourcePlugin extends MantisSourceBase {
24
* <rev> = changeset revision ID (e.g. SVN rev number, GIT SHA, etc.)
25
* The match is not case-sensitive.
26
*/
27
- const CHANGESET_LINKING_REGEX = '/(?:([cdsvp]?):([^:\s][^:\n\t]*):([^:\s]+):)/i';
+ const CHANGESET_LINKING_REGEX = '/(?:(?<=^|\s)([cdsvp]?):([^:\s][^:\n\t]*):([^:\s]+):)/i';
28
29
function register() {
30
$this->name = plugin_lang_get( 'title' );
0 commit comments