regexp

command module
v0.0.0-...-838b099 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 2 Imported by: 0

README

Regular Expression in Go

Regular expression in Go.

Notes

  • It's a best practice to use backtick for regexp pattern. String enclosed by backticks are more "literal," which makes it easier to write as certain characters like backlash isn't interpreted as an escape.

    patternInDQuote   := "[a-zA-Z0-9\\]+" // Double quote
    patternInBacktick := `[a-zA-Z0-9\]+`  // Backtick
    

Setup

  1. Run the program.

    $ make run
    

Reference

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL