Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to detect syntactic problem in regular expression, like *%?

guanqing_long
Explorer
0 Likes
789

Hi,

Is there any method to detect the syntactic problem like this? e.g.. ,a regular expression %, it contais a '%' does not make any sence since '*' is stronger than '%' .

Thanks in advance!

Hi,

Is there any method to detect the syntactic problem like this? e.g.. ,a regular expression %, it contais a '%' does not make any sence since '*' is stronger than '%' .

Thanks in advance!

3 REPLIES 3
Read only

Former Member
0 Likes
695

Hello

In ABAP you must to use only '%'. It is equivalent '*' in selection-screen.

Read only

Former Member
0 Likes
695

HI,

IN ABAP the character fro General Searching is '%'. ABAP considers '*' as a character not as a Searh Replacement.

For Searching Single Field Use '_'.

Hope this will clear.

Reward if useful.

Sumit Agarwal

Read only

Former Member
0 Likes
695

hi '*' is for the multiple characters..

and '%' is for the single character..

if u use this..

'*%' it does make sence..because it is already search for the multi chars again you r looking for single..