# Bug OP-5103 - Regression in OpenProject 8.0 in detection of work packages in commit messages

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-5103

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 8.0.1 |
| Observed in versions | 8.0.0 |
| Sprint | 8.0.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 8.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

Hi,

In OpenProject 7.4.7, in a commit message like `xxxx (yyy #123)` , the reference to the identifier of the work package is well transfomed into a link.

In OpenProject 8.0.0, in the same commit message, the reference to the identifier of the work package is not transfomed anymore into a link because the regexp used for detection does not allow right parenthesis.

The attached patch corrects the issue.

Best regards,

Nicolas Salguero.
