Simplify Pattern Checking with Regular Expressions
Last Post 23 Nov 2012 04:33 AM by Jan. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Jan
Advanced Member
Advanced Member
Posts:709

--
23 Nov 2012 04:33 AM

Hi Scott

I downloaded code for article 
    'Simplify Pattern Checking with Regular Expressions'
        Date Posted: September 27, 2012 03:00 PM.

Thanks for the article.

REGEXDEMO doesn't work on our system.
I guess there is a problem with CCSID.
How can I put it to work?

9>> call regexdemo ('A' 'A')
61 pattern = '^[A-Za-z$#@][A-Za-z0-9$#@_.]{0,9}$';
62 objpat = re_compile( REG_EXTENDED: pattern );
Unmonitored exception at line 62
$ anchor not at end of regular expression.

In debug, on line 62 PATTERN = '^ÄA-Za-z$#§ÜÄA-Za-z0-9$#§_.Üä0,9ü$                '

Current Job Definition Attributes:
Language identifier . . . . . . . . . . . . . . . : ENB
Country or region identifier . . . . . . . . . . : BE
Coded character set identifier . . . . . . . . . : 500
Default coded character set identifier . . . . . : 500

Regards
Jan

You are not authorized to post a reply.

Acceptable Use Policy