RegExTools

Regular Expression Tools
ダウンロード: 2.7K
更新 2002/8/28

ライセンスがありません

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

引用

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

MATLAB リリースの互換性
作成: R13
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0