PHP Classes

File: source/asset/crules/datatables-plugins/type-detection/ip-address.js

Recommend this page to a friend!
  Classes of ask sa sa   Rimau waf   source/asset/crules/datatables-plugins/type-detection/ip-address.js   Download  
File: source/asset/crules/datatables-plugins/type-detection/ip-address.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Rimau waf
Application to configure Web server module options
Author: By
Last change:
Date: 1 year ago
Size: 411 bytes
 

Contents

Class file image Download
/** * Automatically detect IP addresses in dot notation. Goes perfectly with the * IP address sorting function. * * @name IP address detection * @summary Detect data which is in IP address notation * @author Brad Wasson */ jQuery.fn.dataTableExt.aTypes.unshift( function ( sData ) { if (/^\d{1,3}[\.]\d{1,3}[\.]\d{1,3}[\.]\d{1,3}$/.test(sData)) { return 'ip-address'; } return null; } );