Kusetshenziswa Ukuveza Okujwayelekile ku-Notepad ++

Pin
Send
Share
Send

Ukuhlela inqubo eyinkimbinkimbi, ethinta izinhlungu, futhi evamisile lapho umuntu evame ukuphinda isenzo esifanayo noma esifanayo. Ukuze wandise ukusebenza kwe-automation futhi asheshise ukusesha kanye nokufaka okunye esikhundleni sezinto ezifanayo kudokhumenti, kwaqanjwa uhlelo lokubonisa amagama ejwayelekile kuhlelo. Kusindisa kakhulu isikhathi nomzamo wabahleli bezinhlelo, abaphathi bewebhu, futhi, kwesinye isikhathi, abamele bobuchwepheshe. Ake sibheke ukuthi izinkulumo ezijwayelekile zisebenza kanjani kusihleli sombhalo esiphambili se-Notepad ++.

Landa inguqulo yakamuva ye-Notepad ++

Umqondo wezinkulumo ezijwayelekile

Ngaphambi kokuthi siqale ukufunda ukusetshenziswa kwezincazelo ezijwayelekile ku-Notepad ++ ekusebenzeni, ake sifunde kabanzi ngomongo waleli gama.

Izinkulumo ezijwayelekile zilulimi olukhethekile lokusesha, usebenzisa ongalwenza ngezenzo ezahlukahlukene emigqeni yedokhumenti. Lokhu kwenziwa kusetshenziswa ama-metacharacter akhethekile, okokufaka kwakho okufuna futhi kwenziwe ngamacebo ngesisekelo samaphethini. Isibonelo, ku-Notepad ++, inkathi esesimweni senkulumo ejwayelekile imelela noma yiluphi uqoqo lwezinhlamvu ezikhona, futhi isisho esithi [A-Z] simelela noma yimuphi uhlamvu lwezinhlamvu zamagama zesiLatini.

Isichasiso senkulumo ejwayelekile ingahluka ngezilimi ezihlukile zokuhlela. I-Notepad ++ isebenzisa amanani afanayo ejwayelekile njengenkulumo ethandwa kakhulu ye-Perl.

Amanani Omuntu Ojwayelekile Wokuvezwa

Manje sizokwazisa kumazwana avame ukusetshenziswa kakhulu ku-Notepad ++:

      . - Noma yimuphi umlingisi oyedwa;
      [0-9] - noma yimuphi umlingiswa ngendlela idijithi;
      D - noma yimuphi umlingisi ngaphandle kwidijithi;
      [A-Z] - noma iyiphi incwadi eyinhloko yezinhlamvu zesiLatini;
      [a-z] - noma iyiphi incwadi esezingeni eliphansi yezinhlamvu zesiLatini;
      [a- Z] - noma yiziphi izinhlamvu zamagama zesiLatini, noma ngabe zinjani;
      w - incwadi, dwebela noma inombolo;
      s - isikhala;
      ^ - ukuqala komugqa;
      $ - ukuphela komugqa;
      * - Ukuphindwaphindwa komlingiswa (kusuka ku-0 kuye ekuthambekeni);
      4 1 2 3 - inombolo ye-serial yeqembu;
      ^ s * $ - sesha imigqa engenalutho;
      ([0-9] [0-9] *.) - sesha izinombolo ezinamadijithi amabili.

Eqinisweni, kunenombolo enkulu kakhulu yezinhlamvu zezinkulumo ezijwayelekile ezingakwazi ukumbozwa endabeni eyodwa. Okuphawuleka kakhulu kokuhlukahluka kwabo okuhlukahlukene okusetshenziswa abenzi bohlelo nabaklami bewebhu uma besebenza nge-Notepad ++.

Kusetshenziswa izinkulumo ezijwayelekile ku-Notepad ++ lapho usesha

Manje ake sibheke izibonelo ezithile zokuthi izinkulumo ezijwayelekile zisetshenziswa kanjani ku-Notepad ++.

Ukuqala ukusebenza ngezinkulumo ezijwayelekile, iya engxenyeni ethi "Sesha", bese ukhetha u- "Thola" ohlwini oluvelayo.

Ngaphambi kwethu kuvula iwindi lokusesha elijwayelekile ezinhlelweni ze-Notepad ++. Le windi ingafinyeleleka futhi ngokucindezela isinqamuleli sekhibhodi i-Ctrl + F. Qinisekisa ukwenza kusebenze inkinobho ethi "Izisho Ezijwayelekile" ukuze ukwazi ukusebenza nalo msebenzi.

Thola zonke izinombolo eziqukethwe kudokhumenti. Ukuze wenze lokhu, faka ipharamitha [0-9] kubha yokusesha, bese uchofoza inkinobho ethi "Ukucinga Okulandelayo". Njalo lapho uchofoza le nkinobho, kuzoqokonyiswa idijithi elandelayo evela kumbhalo kusuka phezulu kuya phansi. Ukushintshela kumodi yokusesha kusuka phansi kuya phezulu, okungenziwa kusetshenziswa indlela ejwayelekile yokusesha, ngeke kusetshenziswe lapho kusetshenziswa izinkulumo ezijwayelekile.

Uma uchofoza inkinobho "Thola yonke into esembhalweni yamanje", khona-ke yonke imiphumela yokusesha, okungukuthi, izinkulumo zedijithali kudokhumenti, izokhonjiswa ewindini elihlukile.

Futhi nansi imiphumela yokucinga eboniswe umugqa.

Ukushintsha izinhlamvu ngezinkulumo ezijwayelekile e-Notepad ++

Kepha, kwi-Notepad ++ awukwazi ukusesha izinhlamvu kuphela, kodwa futhi ungazifaka esikhundleni sokusebenzisa izinkulumo ezijwayelekile. Ukuze uqale lesi senzo, iya kuthebhu ethi "Buyisela" iwindi lokusesha.

Asiqondise kabusha izixhumanisi zangaphandle ngokuqondisa kabusha. Ukuze wenze lokhu, beka inani elithi "href =. (// [^ '"] *) "kukholamu" Thola ", kanye nenkambu" Faka okunye "-" href = "/ redirect.php? To = 1". Chofoza inkinobho ethi "Buyisela Konke".

Njengoba ukwazi ukubona, ukuphindisela kwaphumelela.

Manje ake sisebenzise ukufaka amabinzana ejwayelekile kohlelo lwe-non-computer noma lwekhasi lewebhu imisebenzi.

Sinohlu lwabantu abamagama aphelele nezinsuku zokuzalwa.

Sihlela kabusha izinsuku zokuzalwa namagama abantu ezindaweni. Ukuze wenze lokhu, kukholamu ethi "Thola" bhala "( w +) ( w +) ( w +) ( d +. D +. D +)", futhi kukholamu "Phendula" - " 4 1 2 3" . Chofoza inkinobho ethi "Buyisela Konke".

Njengoba ukwazi ukubona, ukuphindisela kwaphumelela.

Sikhombise izenzo ezilula kakhulu ezingenziwa sisebenzisa izinkulumo ezijwayelekile e-Notepad ++. Kepha ngosizo lwalezinkulumo, abahleli bohlelo abaqeqeshiwe benza imisebenzi eyinkimbinkimbi.

Pin
Send
Share
Send