Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: match

Mode matching – un paid flex record (you need to know the name of all fields in this context)

I have been trying to create a function with a list of tuples as parameters, but I keep getting the error: “Unparsed flex record (need to know the names of all fields in this context)” My code is:<

October 20, 2021By Simo Flex all, Field, Flex, know, match, Name, need, pattern, Record, Text, unfair, upper and lowerLeave a Comment

Regular expression: How to choose something that matches the beginning or end, but is not both?

I have this situation: the regular expression is like this:
^ b? A b? $

So b can match at the beginning of the string 0 or 1, and A must match one or more times. Again b can match 0 or 1 tim

October 18, 2021By Simo Regexp Both, end, expressions, how to choose, match, not, regular, Start, ThingsLeave a Comment

Regular expression – how to determine which alternative items in the Perl regular expression mode?

I have a list of regular expressions (about 10-15) and I need to match some text. Matching them one by one in a loop is too slow. However, I did not write my own state machine To match all regular

October 18, 2021By Simo Regexp alternative, expression, How, item, judgment, match, mode, perl, regularLeave a Comment

Regular expression – GREP: How to search for, but simultaneously exclude some match

I need a way to simplify this command:

grep’SEARCHTERM’ server.log | grep -v ‘ PHHIABFFH’ | grep -v’Stats’ It should find all rows including SEARCHTERM, but exclude if one of the SEARCHTERM r

October 17, 2021By Simo Regexp and simultaneous, exclude, expression, GREP, How, match, regular, search, Some, valueLeave a Comment

Regular expression matching, very simple:

I want to match Twitter grammar with regular expressions.

How do I match any “@______”, that is, start with the @ symbol and nothing after it Spaces, only letters and numbers, until the end o

October 17, 2021By Simo Regexp expression, match, regular, simpleLeave a Comment

Get the file from the specified address, the regular match, output to the specified form

import pymysql import re conn = pymysql.connect( host=’localhost’, port=3306, user=’root’, passwd=’123456′, db=’test’, charset=’utf8′, ) cursor = conn.cursor() f = open(‘D:\fil

October 17, 2021By Simo Regexp acquisition, Address, designation, file, match, Output, procedure, regular, Specify, tableLeave a Comment

Build a nuXT project (with Element UI, AXIOS)

Using Nuxt Nuxt.js document: https://zh.nuxtjs.org/guide/

npx create-nuxt-app

// or yarn create nuxt-app Run h3> npm run dev Routing Basic routing Nuxt.js is based on pages The directory

October 12, 2021By Simo Hadoop AXIOS, build, element, match, Nuxt, project, UILeave a Comment

Mode matching strings in Lua

I used Lua to split the following strings into tables:
(The data are aligned with each other. I did not find how to write the formatted data on this website)

IP: 192.168.128.12
MAC: AF:3G:9

October 5, 2021By Simo Lua lua, match, middle, mode, stringLeave a Comment

Optional group capture matching using the LUA mode

I am trying to use simple pattern matching to parse the chemical formula in Lua. However, I don’t know how to specify the capture group as optional. This is the pattern I came up with: < /p>

October 5, 2021By Simo Lua Capture, Group, lua, match, mode, Optional, useLeave a Comment

How do I check if a matching text is found in the string in Lua?

If at least one specific matching text is found in the text string, I need to make the condition true, for example:

str = “This is some text containing the word tiger.”
if string.match(str, “

October 5, 2021By Simo Lua Find, How to check, in, in the string, lua, match, Text, whetherLeave a Comment

Posts navigation

Page 1 Page 2
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress