Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged regex

0 votes
2.0k views
1 answer
    I am writing a parser using Flex and Bison and have defined various tokens as: [0-9]+ { yylval.str= ... specifications to be fulfilled. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'm trying re.split to get BCF#, BTS# and LAC, CI from logfile with the header and regular structure inside ... have no success. Please support! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am trying to replace the Nth appearance of a needle in a haystack. I want to do this simply via re.sub(), ... like to get some input. Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have problem with this regex: ([|])[0-9]+,([0-9]+([|])|inf])s?.* Debuggex Demo When I try to ... Test Expression")); I always get false. Why? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    There is a simple C++ method to use pattern matching on strings? The code should sound like this: if (regexpcmp("l? ... } else { //no match } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Background I am using flex to generate a lexer for a programming language I am implementing. I have some problems ... can I solve this problem? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
979 views
1 answer
    I'm looking at the example menu of the command cut() (example(cut)), specifically this part: cut> aaa <- c( ... are more ways, you're welcome) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Question How can I remove /public/ from my URLs? Problem When I go to visit /app/about the URL changes to / ... with index in a "public" folder See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    forgive me for being a regex amateur but I'm really confused as to why this doesn't piece of code doesn't ... -F] Any help would be appreciated See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I have a script that loops over several search/replace regex in python, one of those operations is remove ... in the regex replace mechanism. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a string with a number inside and I want to retrieve that number. for example if I have a string " ... number inside the text. Any ideas. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I would like to reply to a webform extracting the email address from the form. The webform is in a table, ... picture of the table to clarify. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I have tried several regex patterns (designed for use with PHP because I couldn't find any for MySQL) for ... with MySQL for URL validation? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    My question is related with lookbehinds, I want to find all the first numbers after the word "this", I ... asking the question Thanks in advance See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I was looking at a code at TutorialsPoint and something has been bothering me since then... take a look at ... can find all possible matches ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Input: Base URL: www.example.com/1/2/index.php Relative URL: ../../index.php Output: Absolute URL: www.example. ... for every ../ in the URL. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I am trying to write simple calculator with JavaScript. I want to check if user input is correct or not. I wrote regular ... -+*/]?)[0-9]+$ See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Reading official docs it's obvious that PowerShell -match operator is more powerful than -like (due to ... because of historical reasons? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I am attempting to replace multiple lines using sed on a Linux system Here is my file <!-- PAGE ... question is similar sed multiline replace See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'm trying to use Java's Scanner class to scan in double and int values delimited by commas. The following Scanner ... ).useDelimiter("[, ]"); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
968 views
1 answer
    I am new to transformations between different formats. My goal is to transfer a notation from a toolkit which ... help would be appreciated! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'm looking for a way to search and replace over multiple lines through a shell script. This is what ... , no additional scripting language. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
996 views
1 answer
    I need the parse text with links in the following formats: [html title](http://www.htmlpage.com) http://www.htmlpage.com ... ="$1">$1</a>'); } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a data frame which contains several variables which got measured at different time points (e.g., test1_tp1, ... ), na.rm = TRUE) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm looking for a JS method that will turn snake_case into PascalCase while keeping slashes intact. // examples: post ... (1, string.length); } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I'm trying to parse csv file with VB.NET. csv files contains value like 0,"1,2,3",4 which splits in 5 instead of 3. ... ^""]*"")*[^""]*$)") See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I need to match an expression and extract values from it using named groups. Lets say this is my string: var str = ... ); What am I doing wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Consider the following example. string s = "The man is old. Them is not bad."; If I use s = s.Replace("The", ... not bad." How can I do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...