Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

FIX regexp #100

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/angular-datatables.renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
expression = $elem.find('tbody').html(),
// Find the resources from the comment <!-- ngRepeat: item in items --> displayed by angular in the DOM
// This regexp is inspired by the one used in the "ngRepeat" directive
match = expression.match(/^\s*.+\s+in\s+(\S*)\s*/),
match = expression.match(/^\s*.+?\s+in\s+(\S*)\s*/),
ngRepeatAttr = match[1];

if (!match) {
Expand Down