109 questions
Thank you for your help.Which is more suitable, Boost.Regex or Onigmo, in terms of using regular expressions and dealing with Japanese kanji sentences?I think I can do both, but is there any place whe...
I am processing sentences with Python and MeCab.for text indf [msg_body]: for line in mecab.parse(text).rstrip().splitlines(): items=line.split(\t) iflen(items) == 2: surface, feature=items if re....
Using RegExp, generate regular expression objects from the variable str in the following formatlet regexp = new RegExp(str+'(.*?), 'gmi');Is it possible to write in the regular expression literal?I co...
Hello, I'm a college student.I'm having trouble trying to replace it without being surrounded by double quotes.It doesn't have to be a single replacement.vim is replacing it and is trying to replace i...
For example, https://example.com/theater/13/130301/3271/Represents ISBN from the URL 130301/3271/I would like to extract as a key.sre_constants.error:missing), unterminated subpattern at position 1I g...
when you have the following text:A-7-2D-1-5D-1-5A-1D-1-5, A-2-5G-5-21, B-3, A-2-5I want to make sure that only alphabetic-numeric-numeric characters are extracted (A-1 and B-3 here).What regular expre...
We are looking for a way to split each keyword if you enter one or more keywords for a full-text search, such as Google Search.I'd like to divide the following strings separated by half-width and full...
Perl's program indicates that a file is written in plain text only.I'd like to distinguish by regular expressions, but I'm worried about how I should write a pattern to realize it.Linux file commands ...
I want to delete the second hyphen or subsequent character of each URL in out.csv.The following error appears.I know it's a type error, but I don't know what the situation is and the solution is.TypeE...
.NET 4.5input=abc123def $456ghi (Note string and numeric string are both random)I want to find a string of digits that does not have $ at the beginning (I want to find 123 only)pattern=(?\<!\$)\d+I...
« | - 10 - | » |
© 2024 OneMinuteCode. All rights reserved.