Jump to content
  • 0

np++ Replace by using Regular expression


Question

Posted (edited)

Good day, everyone.

I have a trouble in Regular expression I don't know how to input the correct command.

What I want to do is to replace all the mvp 's dMotion filed with value 0 in mob_db.txt.

I think the condition of mvp is MEXP >0,but I suck at use Regular expression so I need

someone kindly help to tell me the right RE code .. thank in advance.

Edited by QQfoolsorellina

5 answers to this question

Recommended Posts

Posted (edited)

Hi , I can't understand how the R.E. work but I want replace all custom msg_txt

1. in atcommand.c

msg_txt(8XX) ~ msg_txt(9XX) replace with msg_txt(18XX) ~ msg_txt(19XX)

2 in msg_athena.conf

8XX: XXXXXXX ~ 9XX: XXXXXXX replace with 18XX: XXXXXXX ~ 19XX: XXXXXXX

anyone can tell me how to input RE syntactic structure? , thanks.

Edited by QQfoolsorellina

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...