gulp.watch('app/js/**/*.js', gulp.parallel('scripts'));
function performWork(el, el2){
el.preventDefault();
let data = el2.find('input').serialize();
$.ajax({
type: "POST",
url: "delete_me.php",
data: data,
success: function(html){
$("#table_ajax").load('table.php');
$('#order')[0].reset();
}
});
$('button[class="close deleter"]').click(listenButton);
return false;
}
function listenButton(el){
performWork(el, $(this).closest('tr'));
}
$('button[class="close deleter"]').click(listenButton);
$regular = '/[0-9\.]{7,15}+\s+([0-9a-f||-]+).*/i';
$macs = preg_match_all($regular , $process->getOutput(), $matches);
var_dump($macs, $matches[1]);
exit;