We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1b239 commit 21aea7bCopy full SHA for 21aea7b
assets/javascripts/app.js
@@ -348,7 +348,7 @@ var App = (function ($, publ) {
348
*/
349
publ.parseHistory = function () {
350
$('div#history ul.details i').each( function (idx,item) {
351
- var regex = new RegExp(/\w+\s(\((-?\d+.\d+\s?-?\d+.\d+,?)+\))+/g);
+ var regex = new RegExp(/\w+[\s]?(\((-?\d+.\d+\s?-?\d+.\d+,?)+\))+/g);
352
var match = $(item).text().match(regex);
353
if (match !== null) {
354
var feature = new ol.format.WKT().readFeature(
0 commit comments