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 CenterMATLAB Answers에서 Counter 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.