Technical Example
This is an article with more technical content to test the search functionality.
A command with some regex and special characters:
grep -E -o "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}" file.txt
sed 's/^[ \t]*//;s/[ \t]*$//' file.txt
sed -i 's/\"hostname\"\:.*$/\"hostname\"\: \"new-hostname\"/' config.json
A JSON object to test:
{
"name": "John Doe",
"age": 30,
"cities": [
"New York",
"Paris"
],
"details": {
"height": 180,
"weight": 75
}
}
Using highlight:
...
Init4 = AT+CGDCONT=1,"IP","internetmas","",0,0
...
A tricky string to test the search:
```text This is a test with irregular spacing. Special characters: ~!@#$%^&*()_+`-={}|[]:”;’<>?,./ Escape sequences: \n \t \r \