elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: AIO elhacker.NET 2021 Compilación herramientas análisis y desinfección malware


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  Java
| | | |-+  deshabilitar expresion regular de filtro de jtable
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: deshabilitar expresion regular de filtro de jtable  (Leído 1,298 veces)
soy_nicanor

Desconectado Desconectado

Mensajes: 88


Ver Perfil
deshabilitar expresion regular de filtro de jtable
« en: 12 Octubre 2016, 00:11 am »

Al buscar Expresiones regulares "+, *, ?" al filtrar datos de jtable me manda error

cuando busco juan + carlos no me encuentra el buscador
Código
  1. trsFiltro = new TableRowSorter<TableModel>(modelo);
  2. trsFiltro.setRowFilter(RowFilter.regexFilter("(?i)"+jTextField1.getText(), 3));
  3. jTable1.setRowSorter(trsFiltro);
  4.  

El error cuando busco +
Código
  1. Exception in thread "AWT-EventQueue-0" java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 4
  2. (?i)+
  3.  
Como puedo deshabilitar expresion regular para que me funcione normal el buscador


« Última modificación: 12 Octubre 2016, 00:20 am por soy_nicanor » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Expresión regular « 1 2 3 »
PHP
IWKY 29 19,580 Último mensaje 25 Enero 2010, 23:57 pm
por ~ Yoya ~
Problema con expresión regular
PHP
egyware 7 5,711 Último mensaje 12 Febrero 2010, 00:32 am
por ~ Yoya ~
ayudita expresion regular « 1 2 3 4 »
Programación Visual Basic
viher 38 11,734 Último mensaje 6 Noviembre 2010, 21:25 pm
por Psyke1
Ayuda con Expresión Regular
Desarrollo Web
Shell Root 4 4,146 Último mensaje 10 Abril 2011, 22:26 pm
por Shell Root
Expresión regular email
PHP
Littl3 1 2,834 Último mensaje 20 Septiembre 2011, 23:06 pm
por ~ Yoya ~
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines