Use a regex for relative dragging