Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 0023d1b

Browse files
committed
chore(typeahead): adjust regex comment
1 parent be0d056 commit 0023d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typeahead/typeahead.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.debounce', 'ui.bootstrap
55
* Extracted to a separate service for ease of unit testing
66
*/
77
.factory('uibTypeaheadParser', ['$parse', function($parse) {
8-
// 00000111000000000000022200000000000000003333333333333330000000000044000
8+
// 000001111111100000000000002222222200000000000000003333333333333330000000000044444444000
99
var TYPEAHEAD_REGEXP = /^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;
1010
return {
1111
parse: function(input) {

0 commit comments

Comments
 (0)