Skip to content

Commit

Permalink
More correct regexp.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 3, 2015
1 parent a93d900 commit 760d795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kronolith/js/kronolith.js
Original file line number Diff line number Diff line change
Expand Up @@ -6392,7 +6392,7 @@ KronolithCore = {

normalizeAttendee: function(attendee)
{
var pattern = /:(.*);/;
var pattern = /:(.*?);/;

This comment has been minimized.

Copy link
@vDorst

vDorst Sep 3, 2015

/:([^;]*);/; is even faster.

var match = pattern.exec(attendee);
if (match) {
return match[1].split(',');
Expand Down

0 comments on commit 760d795

Please sign in to comment.