How do I use scan and replace of special characters #916
Unanswered
dhfreinkel
asked this question in
IBM i
Replies: 5 comments 2 replies
-
@dhfreinkel Do you mean a scan and replace in RPGLE? Like |
Beta Was this translation helpful? Give feedback.
2 replies
-
I use Ctrl F and then try to replace characters in the source code.
Darryl Freinkel
A4G
Telephone: 770.321.8562 Mobile: 678.355.8562
From: barry ***@***.***>
Sent: Tuesday, October 25, 2022 5:23 PM
To: halcyon-tech/vscode-ibmi ***@***.***>
Cc: dhfreinkel ***@***.***>; Mention ***@***.***>
Subject: Re: [halcyon-tech/vscode-ibmi] How do I use scan and replace of special characters (Discussion #916)
@dhfreinkel <https://github.com/dhfreinkel> Do you mean a scan and replace in RPGLE?
Like %scanrpl perhaps?
—
Reply to this email directly, view it on GitHub <https://github.com/orgs/halcyon-tech/discussions/916#discussioncomment-3964377> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKTI5GOMAUQ4BJMJ2DA4ESTWFBFSDANCNFSM6AAAAAAROLVV64> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AKTI5GNSD4PC3YDYRVFITWLWFBFSDA5CNFSM6AAAAAAROLVV66WGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAHR65S.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried that. It did not work.
Darryl Freinkel
A4G
Telephone: 770.321.8562 Mobile: 678.355.8562
From: Christian Jorgensen ***@***.***>
Sent: Tuesday, October 25, 2022 5:27 PM
To: halcyon-tech/vscode-ibmi ***@***.***>
Cc: dhfreinkel ***@***.***>; Mention ***@***.***>
Subject: Re: [halcyon-tech/vscode-ibmi] How do I use scan and replace of special characters (Discussion #916)
If you search using regular expression, you must specify \ before the [ and ] chargers, which have special meaning in regex.
—
Reply to this email directly, view it on GitHub <https://github.com/orgs/halcyon-tech/discussions/916#discussioncomment-3964401> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKTI5GLYMQVVO7Z7QVM3AATWFBGCBANCNFSM6AAAAAAROLVV64> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AKTI5GO4JI2C2M3UHHIMNRTWFBGCBA5CNFSM6AAAAAAROLVV66WGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAHR67C.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, I used array[x]. I changed it to array(x).
Thanks
Darryl Freinkel
A4G
Telephone: 770.321.8562 Mobile: 678.355.8562
From: Andreas Prouza ***@***.***>
Sent: Thursday, October 27, 2022 1:09 AM
To: halcyon-tech/vscode-ibmi ***@***.***>
Cc: dhfreinkel ***@***.***>; Mention ***@***.***>
Subject: Re: [halcyon-tech/vscode-ibmi] How do I use scan and replace of special characters (Discussion #916)
Are you doing this in that way?:
<https://user-images.githubusercontent.com/65070910/198196972-db251cff-924e-4a3c-985e-5747459b17e6.png>
—
Reply to this email directly, view it on GitHub <https://github.com/orgs/halcyon-tech/discussions/916#discussioncomment-3977821> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AKTI5GNBW3NPD6HHJYKTQKTWFIE7PANCNFSM6AAAAAAROLVV64> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AKTI5GLPPCWEO4YNTE4DIL3WFIE7PA5CNFSM6AAAAAAROLVV66WGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAHSZF2.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How do I do a scan and replace?
Example Array[x] to be Array(x).
The system hints at needing a leading / but it responds no matches.
Beta Was this translation helpful? Give feedback.
All reactions