RegExTools

Regular Expression Tools
2,7K download
Aggiornato 28 ago 2002

Nessuna licenza

REGEXTOOLS ? Regular Expression Tools

I'm creating the RegExTools toolbox with many of the *** little *** functions I've been using.

They are not complete and they are not extensive. I could have programmed them more elegantly. They're just some little tools I made for myself that I thought you'd find useful.

Please let me know if you come up with any improvements or bug reports.

I expect that I'll be updating these items frequently so keep checking for changes:

EXTRACT_TOKEN_AND_REMAINDER
returns target string and remainder given string, start and finish

REGEXBRACKET
extracts bracketed tokens and comments regexp('{one}two {three}','{.*}') thinks you want "{one}two {three}" when you may really want "{one}" and "{three}". If this is what you want RegExBracket is for you!

REGEXPINC
"improved" REGEXPI

REGEXPIOR
combines REGEXPIOR and RegExpIncREGEXPINCIOR

REGEXPINCNUM
uses REGEXPINC and returns a number corresponding to the first token

REGEXPIOR
inclusive and exclusive or: produces combinations of regular expressions for easier and faster processing

REGEXPSTRTOK
STRTOK for regular expressions

VIEWREGEXP
visually see the output of regexp

STRUCT2FLAT
turns a structure into a flat table also produces a file for importing t Excel, Access or any other DB

Cita come

Michael Robbins (2024). RegExTools (https://www.mathworks.com/matlabcentral/fileexchange/2250-regextools), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R13
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Characters and Strings in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0