Changeset 5546 for trunk/bp-activity/bp-activity-functions.php
- Timestamp:
- 12/13/2011 07:23:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-functions.php
r5506 r5546 38 38 */ 39 39 function bp_activity_find_mentions( $content ) { 40 $pattern = '/[@]+([A-Za-z0-9-_\.@]+) /';40 $pattern = '/[@]+([A-Za-z0-9-_\.@]+)\b/'; 41 41 preg_match_all( $pattern, $content, $usernames ); 42 42
Note: See TracChangeset
for help on using the changeset viewer.