Defect #34894 » 0001-Fix-user-mention-using-not-working-at-the-end-of-lin.patch
| app/helpers/application_helper.rb | ||
|---|---|---|
|
)|
|
||
|
(
|
||
|
(?<sep4>@)
|
||
|
(?<identifier3>[A-Za-z0-9_\-@\.]*)
|
||
|
(?<identifier3>[A-Za-z0-9_\-@\.]*?)
|
||
|
)
|
||
|
)
|
||
|
(?=
|
||
| test/helpers/application_helper_test.rb | ||
|---|---|---|
|
'user:JSMITH' => link_to_user(User.find_by_id(2)),
|
||
|
'user#2' => link_to_user(User.find_by_id(2)),
|
||
|
'@jsmith' => link_to_user(User.find_by_id(2)),
|
||
|
'@jsmith.' => "#{link_to_user(User.find_by_id(2))}.",
|
||
|
'@JSMITH' => link_to_user(User.find_by_id(2)),
|
||
|
'@abcd@example.com' => link_to_user(User.find_by_id(u_email_id)),
|
||
|
'user:abcd@example.com' => link_to_user(User.find_by_id(u_email_id)),
|
||
- « Previous
- 1
- 2
- Next »