Skip to content
View gist:ed290aab1a2f5cfb21d1
// Playground - noun: a place where people can play
import Foundation
class Regex {
let internalExpression: NSRegularExpression
let pattern: String
init(_ pattern: String) {
self.pattern = pattern
View gist:2484138
// =========== Input Field Listener with AJAX Callback ==============
function FieldListener(entity){
var t = this;
this.typingTimer; // Timer identifier
this.doneTypingInterval = 750; // Time in ms. e.g.; 5000 = 5secs
this.entity = entity;
this.noticeSpan = this.entity.siblings("span");
this.parentForm = entity.parents('form:first');
entity.on("keyup", function(){t.setTimer();});
View dabblet.css
* The first commented line is your dabblet’s title
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
Something went wrong with that request. Please try again.