Mathachew / jquery-autotab

A jQuery plugin that provides auto tabbing and filtering on text fields in a form
http://autotab.mathachew.com/
366 stars 98 forks source link

regex feature not block caracters included by SHIFT + caracter #97

Open luzfcb opened 8 years ago

luzfcb commented 8 years ago

by example, I have the following code

$("#hash").autotab('filter', { format: 'custom',  pattern: '[^0-9a-zA-Z]'});

all the characters below are obtained with SHIFT + character or SHIFT + character + SPACE and neither of them is blocked (there are probably more than these)

^
~
'
`
"
â ä ã ÂÄÃ
ĉ
ê ë ẽ Ê Ë Ẽ
ĝ Ĝ 
ḧ Ḧ
î ï ĩ Î Ï Ĩ
ĵ Ĵ

SHIFT + ^ caracter + SPACE = ^ SHIFT + 6 caracter + SPACE = " SHIFT + 6 caracter + e = ë

in pt-br keyboard layout ( ABNT)

2000px-kb_portuguese_brazil svg