perl_regex_rep

バージョン 1.0.0.0 (415 Bytes) 作成者: Michael Robbins
Executes perl one-liner, match or substitution.
ダウンロード: 2.4K
更新 2004/11/15

ライセンスがありません

function result=perl_regexp_rep(instr,regexstr,repstr)
% executes a perl regex match or substitution
% it can replace REGEXP or REGEXPREP
%
%>> perl_regexp_rep( ...
% 'the quick brown fox jumped over the lazy dog', ...
% 'e.*?e')
% ans = e quick brown fox jumpe
%
%>> perl_regexp_rep( ...
% 'the quick brown fox jumped over the lazy dog', ...
% 'e.*?e','<sub>')
% ans = th<sub>d over the lazy dog

function result=perl2(command)
% executes a perl one-liner
%
% IT'S NOT FANCY BUT IT WORKS

% michael.robbins@us.cibc.com
% robbins@bloomberg.net

引用

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

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

Community Treasure Hunt

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

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

Several typographic errors.