Help using Base SAS procedures

Modifiers control the behaviour of the matching part of the regex (i.e.such x or o )?

Accepted Solution Solved
Reply
Super Contributor
Posts: 297
Accepted Solution

Modifiers control the behaviour of the matching part of the regex (i.e.such x or o )?

Hello:

 

What are the x or o represent?  Thanks.

 

http://analytics.ncsu.edu/sesug/2012/CT-03.pdf


Accepted Solutions
Solution
‎06-23-2017 01:02 PM
Trusted Advisor
Posts: 1,128

Re: Modifiers control the behaviour of the matching part of the regex (i.e.such x or o )?

The link below will give you more details on these type of pattern modifiers. Please check the pattern modifiers section in the link.

 

 

/x Ignore (most) whitespace and permit comments in pattern.
/o Compile pattern once only.

 

https://docstore.mik.ua/orelly/perl/prog3/ch05_02.htm

 

 

Thanks,
Jag

View solution in original post


All Replies
Super User
Super User
Posts: 7,401

Re: Modifiers control the behaviour of the matching part of the regex (i.e.such x or o )?

You can Google search for something like that, top result:

 

https://perldoc.perl.org/perlre.html

Solution
‎06-23-2017 01:02 PM
Trusted Advisor
Posts: 1,128

Re: Modifiers control the behaviour of the matching part of the regex (i.e.such x or o )?

The link below will give you more details on these type of pattern modifiers. Please check the pattern modifiers section in the link.

 

 

/x Ignore (most) whitespace and permit comments in pattern.
/o Compile pattern once only.

 

https://docstore.mik.ua/orelly/perl/prog3/ch05_02.htm

 

 

Thanks,
Jag
Super Contributor
Posts: 297

Re: Modifiers control the behaviour of the matching part of the regex (i.e.such x or o )?

Thanks for your great information.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 120 views
  • 2 likes
  • 3 in conversation