Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Regex 问题导航-使用正则表达式的子字符串_Regex_Intellij Idea - Fatal编程技术网

Regex 问题导航-使用正则表达式的子字符串

Regex 问题导航-使用正则表达式的子字符串,regex,intellij-idea,Regex,Intellij Idea,智能创意12 我想为Bitbucket问题添加一个新的问题导航链接设置->版本控制->问题导航模式: 我希望问题ID为n,例如3、123等 如何将问题ID作为正则表达式输入\d+ 是否可以使用正则表达式生成子字符串,因为它不应该是Bitbuckt问题URL中的哈希?请尝试以下操作: \d+-https://bitbucket.org/user/repo-name/issue/$1

智能创意12

我想为Bitbucket问题添加一个新的问题导航链接设置->版本控制->问题导航模式:

我希望问题ID为n,例如3、123等

如何将问题ID作为正则表达式输入\d+

是否可以使用正则表达式生成子字符串,因为它不应该是Bitbuckt问题URL中的哈希?

请尝试以下操作:

\d+-https://bitbucket.org/user/repo-name/issue/$1