How do I search a file using “less” for a value with a decimal point?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
So I less my file:
less myFile.log
Then I try to search for a value:
/70.5
I've since learned less uses regex, so .
is a wildcard. I've tried to escape it with no success.
regular-expression less
add a comment |
So I less my file:
less myFile.log
Then I try to search for a value:
/70.5
I've since learned less uses regex, so .
is a wildcard. I've tried to escape it with no success.
regular-expression less
11
How did you "try to escape it with no success" without using a backslash?
– Xen2050
Jan 15 at 23:38
You answered your own question. If I used a backslash I would have succeeded, wouldn't I have..?
– notAChance
Jan 18 at 13:45
Maybe I'll rephrase it slightly: What exactly did you type when you tried to escape the decimal with no success? Or did you only press slash to search, then typed70.5
? Maybe there's a misunderstanding of "escape"?
– Xen2050
Jan 18 at 22:15
add a comment |
So I less my file:
less myFile.log
Then I try to search for a value:
/70.5
I've since learned less uses regex, so .
is a wildcard. I've tried to escape it with no success.
regular-expression less
So I less my file:
less myFile.log
Then I try to search for a value:
/70.5
I've since learned less uses regex, so .
is a wildcard. I've tried to escape it with no success.
regular-expression less
regular-expression less
edited Jan 15 at 17:37
Rui F Ribeiro
42.3k1485143
42.3k1485143
asked Jan 15 at 16:38
notAChancenotAChance
1364
1364
11
How did you "try to escape it with no success" without using a backslash?
– Xen2050
Jan 15 at 23:38
You answered your own question. If I used a backslash I would have succeeded, wouldn't I have..?
– notAChance
Jan 18 at 13:45
Maybe I'll rephrase it slightly: What exactly did you type when you tried to escape the decimal with no success? Or did you only press slash to search, then typed70.5
? Maybe there's a misunderstanding of "escape"?
– Xen2050
Jan 18 at 22:15
add a comment |
11
How did you "try to escape it with no success" without using a backslash?
– Xen2050
Jan 15 at 23:38
You answered your own question. If I used a backslash I would have succeeded, wouldn't I have..?
– notAChance
Jan 18 at 13:45
Maybe I'll rephrase it slightly: What exactly did you type when you tried to escape the decimal with no success? Or did you only press slash to search, then typed70.5
? Maybe there's a misunderstanding of "escape"?
– Xen2050
Jan 18 at 22:15
11
11
How did you "try to escape it with no success" without using a backslash?
– Xen2050
Jan 15 at 23:38
How did you "try to escape it with no success" without using a backslash?
– Xen2050
Jan 15 at 23:38
You answered your own question. If I used a backslash I would have succeeded, wouldn't I have..?
– notAChance
Jan 18 at 13:45
You answered your own question. If I used a backslash I would have succeeded, wouldn't I have..?
– notAChance
Jan 18 at 13:45
Maybe I'll rephrase it slightly: What exactly did you type when you tried to escape the decimal with no success? Or did you only press slash to search, then typed
70.5
? Maybe there's a misunderstanding of "escape"?– Xen2050
Jan 18 at 22:15
Maybe I'll rephrase it slightly: What exactly did you type when you tried to escape the decimal with no success? Or did you only press slash to search, then typed
70.5
? Maybe there's a misunderstanding of "escape"?– Xen2050
Jan 18 at 22:15
add a comment |
3 Answers
3
active
oldest
votes
/70.5
will do the trick (inside less
).
5
Alternatively:/70[.]5
.
– jamesdlin
Jan 15 at 23:10
add a comment |
You can turn off regex mode by hitting Ctrl+R before typing the pattern:
^R Don't interpret regular expression metacharacters; that is,
do a simple textual comparison.
Amazing trick, thanks for this! Is it specific to less?
– notAChance
Jan 15 at 16:52
@xeon48 likely it is - at least, I don't thinkmore
supports it (although other pagers may provide something equivalent)
– steeldriver
Jan 15 at 16:54
Thanks steel, I'll play around with it when I get a chance :)
– notAChance
Jan 15 at 16:55
@xeon48 : it seems specific to less, but there are some alternatives (fgrep "something" file(s)
: will look for the exact string "something" in the file(s), doing a car by car comparison and not as a regexp)
– Olivier Dulac
Jan 16 at 12:50
add a comment |
Two search expressions for numbers in less
/.*[0-9]+.* # for numbers
/[0-9]*.[0-9]+ # for numbers with a decimal part
Regex to search for numbers (with or without a decimal)
This regex works in less
but also in other cases where the same regex syntax is used.
.*[0-9]+.*
You start the search engine with /
, so if you want to find decimal numbers, but avoid text with dots (like file.txt) or periods between sentences, I think the following string is rather good,
/.*[0-9]+.*
Test file
There are several ways to use a dot. Here are some examples:
- 'Period' finishing a sentence
- Short for current directory or 'source' command in linux shells
- Separator between the name and extension of a file
- Separator in between the integer part and decimal part of a number
- Separator in special numerical or litteral strings (for example IP adress)
The following regex expression is rather simple and can identify
- numbers
- numerial strings
.*[0-9]+.*
.bashrc
hello-0
170.5
text.txt
170
170.
.551
asdf 170.5 qwerty
192.168.1.1
file.000
file.001
Regex to search for numbers with a decimal part
This regex works in less
but also in other cases where the same regex syntax is used.
[0-9]*.[0-9]+
The corresponding search command is
/[0-9]*.[0-9]+
It will also find numerical strings (for example IP address), in general digits after a dot (including digits before the dot, if any).
Thanks for this, it will come in useful. Though the lesson learned here is brush up on my regex :)
– notAChance
Jan 15 at 16:48
1
[0-9]*.[0-9]*
matches on a single.
.*
matches on zero or more.
– Stéphane Chazelas
Jan 15 at 17:23
@StéphaneChazelas, Yes, I know, and I am busy trying to get around that without getting a complicated expression ...
– sudodus
Jan 15 at 17:25
1
[0-9]+(.[0-9]*)?
or even[0-9]+(.[0-9]+)?
maybe?
– Stephen Kitt
Jan 15 at 18:04
@StephenKitt, I think your first expression finds the same 'candidates' as my first string.*[0-9]+.*
in the current version of the answer. Your second string will exclude some of dots (which may be good or bad depending on what the user wants to see).
– sudodus
Jan 15 at 19:47
|
show 3 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494637%2fhow-do-i-search-a-file-using-less-for-a-value-with-a-decimal-point%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
/70.5
will do the trick (inside less
).
5
Alternatively:/70[.]5
.
– jamesdlin
Jan 15 at 23:10
add a comment |
/70.5
will do the trick (inside less
).
5
Alternatively:/70[.]5
.
– jamesdlin
Jan 15 at 23:10
add a comment |
/70.5
will do the trick (inside less
).
/70.5
will do the trick (inside less
).
answered Jan 15 at 16:39
Stephen KittStephen Kitt
182k26420499
182k26420499
5
Alternatively:/70[.]5
.
– jamesdlin
Jan 15 at 23:10
add a comment |
5
Alternatively:/70[.]5
.
– jamesdlin
Jan 15 at 23:10
5
5
Alternatively:
/70[.]5
.– jamesdlin
Jan 15 at 23:10
Alternatively:
/70[.]5
.– jamesdlin
Jan 15 at 23:10
add a comment |
You can turn off regex mode by hitting Ctrl+R before typing the pattern:
^R Don't interpret regular expression metacharacters; that is,
do a simple textual comparison.
Amazing trick, thanks for this! Is it specific to less?
– notAChance
Jan 15 at 16:52
@xeon48 likely it is - at least, I don't thinkmore
supports it (although other pagers may provide something equivalent)
– steeldriver
Jan 15 at 16:54
Thanks steel, I'll play around with it when I get a chance :)
– notAChance
Jan 15 at 16:55
@xeon48 : it seems specific to less, but there are some alternatives (fgrep "something" file(s)
: will look for the exact string "something" in the file(s), doing a car by car comparison and not as a regexp)
– Olivier Dulac
Jan 16 at 12:50
add a comment |
You can turn off regex mode by hitting Ctrl+R before typing the pattern:
^R Don't interpret regular expression metacharacters; that is,
do a simple textual comparison.
Amazing trick, thanks for this! Is it specific to less?
– notAChance
Jan 15 at 16:52
@xeon48 likely it is - at least, I don't thinkmore
supports it (although other pagers may provide something equivalent)
– steeldriver
Jan 15 at 16:54
Thanks steel, I'll play around with it when I get a chance :)
– notAChance
Jan 15 at 16:55
@xeon48 : it seems specific to less, but there are some alternatives (fgrep "something" file(s)
: will look for the exact string "something" in the file(s), doing a car by car comparison and not as a regexp)
– Olivier Dulac
Jan 16 at 12:50
add a comment |
You can turn off regex mode by hitting Ctrl+R before typing the pattern:
^R Don't interpret regular expression metacharacters; that is,
do a simple textual comparison.
You can turn off regex mode by hitting Ctrl+R before typing the pattern:
^R Don't interpret regular expression metacharacters; that is,
do a simple textual comparison.
answered Jan 15 at 16:51
steeldriversteeldriver
38.2k45489
38.2k45489
Amazing trick, thanks for this! Is it specific to less?
– notAChance
Jan 15 at 16:52
@xeon48 likely it is - at least, I don't thinkmore
supports it (although other pagers may provide something equivalent)
– steeldriver
Jan 15 at 16:54
Thanks steel, I'll play around with it when I get a chance :)
– notAChance
Jan 15 at 16:55
@xeon48 : it seems specific to less, but there are some alternatives (fgrep "something" file(s)
: will look for the exact string "something" in the file(s), doing a car by car comparison and not as a regexp)
– Olivier Dulac
Jan 16 at 12:50
add a comment |
Amazing trick, thanks for this! Is it specific to less?
– notAChance
Jan 15 at 16:52
@xeon48 likely it is - at least, I don't thinkmore
supports it (although other pagers may provide something equivalent)
– steeldriver
Jan 15 at 16:54
Thanks steel, I'll play around with it when I get a chance :)
– notAChance
Jan 15 at 16:55
@xeon48 : it seems specific to less, but there are some alternatives (fgrep "something" file(s)
: will look for the exact string "something" in the file(s), doing a car by car comparison and not as a regexp)
– Olivier Dulac
Jan 16 at 12:50
Amazing trick, thanks for this! Is it specific to less?
– notAChance
Jan 15 at 16:52
Amazing trick, thanks for this! Is it specific to less?
– notAChance
Jan 15 at 16:52
@xeon48 likely it is - at least, I don't think
more
supports it (although other pagers may provide something equivalent)– steeldriver
Jan 15 at 16:54
@xeon48 likely it is - at least, I don't think
more
supports it (although other pagers may provide something equivalent)– steeldriver
Jan 15 at 16:54
Thanks steel, I'll play around with it when I get a chance :)
– notAChance
Jan 15 at 16:55
Thanks steel, I'll play around with it when I get a chance :)
– notAChance
Jan 15 at 16:55
@xeon48 : it seems specific to less, but there are some alternatives (
fgrep "something" file(s)
: will look for the exact string "something" in the file(s), doing a car by car comparison and not as a regexp)– Olivier Dulac
Jan 16 at 12:50
@xeon48 : it seems specific to less, but there are some alternatives (
fgrep "something" file(s)
: will look for the exact string "something" in the file(s), doing a car by car comparison and not as a regexp)– Olivier Dulac
Jan 16 at 12:50
add a comment |
Two search expressions for numbers in less
/.*[0-9]+.* # for numbers
/[0-9]*.[0-9]+ # for numbers with a decimal part
Regex to search for numbers (with or without a decimal)
This regex works in less
but also in other cases where the same regex syntax is used.
.*[0-9]+.*
You start the search engine with /
, so if you want to find decimal numbers, but avoid text with dots (like file.txt) or periods between sentences, I think the following string is rather good,
/.*[0-9]+.*
Test file
There are several ways to use a dot. Here are some examples:
- 'Period' finishing a sentence
- Short for current directory or 'source' command in linux shells
- Separator between the name and extension of a file
- Separator in between the integer part and decimal part of a number
- Separator in special numerical or litteral strings (for example IP adress)
The following regex expression is rather simple and can identify
- numbers
- numerial strings
.*[0-9]+.*
.bashrc
hello-0
170.5
text.txt
170
170.
.551
asdf 170.5 qwerty
192.168.1.1
file.000
file.001
Regex to search for numbers with a decimal part
This regex works in less
but also in other cases where the same regex syntax is used.
[0-9]*.[0-9]+
The corresponding search command is
/[0-9]*.[0-9]+
It will also find numerical strings (for example IP address), in general digits after a dot (including digits before the dot, if any).
Thanks for this, it will come in useful. Though the lesson learned here is brush up on my regex :)
– notAChance
Jan 15 at 16:48
1
[0-9]*.[0-9]*
matches on a single.
.*
matches on zero or more.
– Stéphane Chazelas
Jan 15 at 17:23
@StéphaneChazelas, Yes, I know, and I am busy trying to get around that without getting a complicated expression ...
– sudodus
Jan 15 at 17:25
1
[0-9]+(.[0-9]*)?
or even[0-9]+(.[0-9]+)?
maybe?
– Stephen Kitt
Jan 15 at 18:04
@StephenKitt, I think your first expression finds the same 'candidates' as my first string.*[0-9]+.*
in the current version of the answer. Your second string will exclude some of dots (which may be good or bad depending on what the user wants to see).
– sudodus
Jan 15 at 19:47
|
show 3 more comments
Two search expressions for numbers in less
/.*[0-9]+.* # for numbers
/[0-9]*.[0-9]+ # for numbers with a decimal part
Regex to search for numbers (with or without a decimal)
This regex works in less
but also in other cases where the same regex syntax is used.
.*[0-9]+.*
You start the search engine with /
, so if you want to find decimal numbers, but avoid text with dots (like file.txt) or periods between sentences, I think the following string is rather good,
/.*[0-9]+.*
Test file
There are several ways to use a dot. Here are some examples:
- 'Period' finishing a sentence
- Short for current directory or 'source' command in linux shells
- Separator between the name and extension of a file
- Separator in between the integer part and decimal part of a number
- Separator in special numerical or litteral strings (for example IP adress)
The following regex expression is rather simple and can identify
- numbers
- numerial strings
.*[0-9]+.*
.bashrc
hello-0
170.5
text.txt
170
170.
.551
asdf 170.5 qwerty
192.168.1.1
file.000
file.001
Regex to search for numbers with a decimal part
This regex works in less
but also in other cases where the same regex syntax is used.
[0-9]*.[0-9]+
The corresponding search command is
/[0-9]*.[0-9]+
It will also find numerical strings (for example IP address), in general digits after a dot (including digits before the dot, if any).
Thanks for this, it will come in useful. Though the lesson learned here is brush up on my regex :)
– notAChance
Jan 15 at 16:48
1
[0-9]*.[0-9]*
matches on a single.
.*
matches on zero or more.
– Stéphane Chazelas
Jan 15 at 17:23
@StéphaneChazelas, Yes, I know, and I am busy trying to get around that without getting a complicated expression ...
– sudodus
Jan 15 at 17:25
1
[0-9]+(.[0-9]*)?
or even[0-9]+(.[0-9]+)?
maybe?
– Stephen Kitt
Jan 15 at 18:04
@StephenKitt, I think your first expression finds the same 'candidates' as my first string.*[0-9]+.*
in the current version of the answer. Your second string will exclude some of dots (which may be good or bad depending on what the user wants to see).
– sudodus
Jan 15 at 19:47
|
show 3 more comments
Two search expressions for numbers in less
/.*[0-9]+.* # for numbers
/[0-9]*.[0-9]+ # for numbers with a decimal part
Regex to search for numbers (with or without a decimal)
This regex works in less
but also in other cases where the same regex syntax is used.
.*[0-9]+.*
You start the search engine with /
, so if you want to find decimal numbers, but avoid text with dots (like file.txt) or periods between sentences, I think the following string is rather good,
/.*[0-9]+.*
Test file
There are several ways to use a dot. Here are some examples:
- 'Period' finishing a sentence
- Short for current directory or 'source' command in linux shells
- Separator between the name and extension of a file
- Separator in between the integer part and decimal part of a number
- Separator in special numerical or litteral strings (for example IP adress)
The following regex expression is rather simple and can identify
- numbers
- numerial strings
.*[0-9]+.*
.bashrc
hello-0
170.5
text.txt
170
170.
.551
asdf 170.5 qwerty
192.168.1.1
file.000
file.001
Regex to search for numbers with a decimal part
This regex works in less
but also in other cases where the same regex syntax is used.
[0-9]*.[0-9]+
The corresponding search command is
/[0-9]*.[0-9]+
It will also find numerical strings (for example IP address), in general digits after a dot (including digits before the dot, if any).
Two search expressions for numbers in less
/.*[0-9]+.* # for numbers
/[0-9]*.[0-9]+ # for numbers with a decimal part
Regex to search for numbers (with or without a decimal)
This regex works in less
but also in other cases where the same regex syntax is used.
.*[0-9]+.*
You start the search engine with /
, so if you want to find decimal numbers, but avoid text with dots (like file.txt) or periods between sentences, I think the following string is rather good,
/.*[0-9]+.*
Test file
There are several ways to use a dot. Here are some examples:
- 'Period' finishing a sentence
- Short for current directory or 'source' command in linux shells
- Separator between the name and extension of a file
- Separator in between the integer part and decimal part of a number
- Separator in special numerical or litteral strings (for example IP adress)
The following regex expression is rather simple and can identify
- numbers
- numerial strings
.*[0-9]+.*
.bashrc
hello-0
170.5
text.txt
170
170.
.551
asdf 170.5 qwerty
192.168.1.1
file.000
file.001
Regex to search for numbers with a decimal part
This regex works in less
but also in other cases where the same regex syntax is used.
[0-9]*.[0-9]+
The corresponding search command is
/[0-9]*.[0-9]+
It will also find numerical strings (for example IP address), in general digits after a dot (including digits before the dot, if any).
edited Jan 15 at 19:49
answered Jan 15 at 16:47
sudodussudodus
1,73249
1,73249
Thanks for this, it will come in useful. Though the lesson learned here is brush up on my regex :)
– notAChance
Jan 15 at 16:48
1
[0-9]*.[0-9]*
matches on a single.
.*
matches on zero or more.
– Stéphane Chazelas
Jan 15 at 17:23
@StéphaneChazelas, Yes, I know, and I am busy trying to get around that without getting a complicated expression ...
– sudodus
Jan 15 at 17:25
1
[0-9]+(.[0-9]*)?
or even[0-9]+(.[0-9]+)?
maybe?
– Stephen Kitt
Jan 15 at 18:04
@StephenKitt, I think your first expression finds the same 'candidates' as my first string.*[0-9]+.*
in the current version of the answer. Your second string will exclude some of dots (which may be good or bad depending on what the user wants to see).
– sudodus
Jan 15 at 19:47
|
show 3 more comments
Thanks for this, it will come in useful. Though the lesson learned here is brush up on my regex :)
– notAChance
Jan 15 at 16:48
1
[0-9]*.[0-9]*
matches on a single.
.*
matches on zero or more.
– Stéphane Chazelas
Jan 15 at 17:23
@StéphaneChazelas, Yes, I know, and I am busy trying to get around that without getting a complicated expression ...
– sudodus
Jan 15 at 17:25
1
[0-9]+(.[0-9]*)?
or even[0-9]+(.[0-9]+)?
maybe?
– Stephen Kitt
Jan 15 at 18:04
@StephenKitt, I think your first expression finds the same 'candidates' as my first string.*[0-9]+.*
in the current version of the answer. Your second string will exclude some of dots (which may be good or bad depending on what the user wants to see).
– sudodus
Jan 15 at 19:47
Thanks for this, it will come in useful. Though the lesson learned here is brush up on my regex :)
– notAChance
Jan 15 at 16:48
Thanks for this, it will come in useful. Though the lesson learned here is brush up on my regex :)
– notAChance
Jan 15 at 16:48
1
1
[0-9]*.[0-9]*
matches on a single .
. *
matches on zero or more.– Stéphane Chazelas
Jan 15 at 17:23
[0-9]*.[0-9]*
matches on a single .
. *
matches on zero or more.– Stéphane Chazelas
Jan 15 at 17:23
@StéphaneChazelas, Yes, I know, and I am busy trying to get around that without getting a complicated expression ...
– sudodus
Jan 15 at 17:25
@StéphaneChazelas, Yes, I know, and I am busy trying to get around that without getting a complicated expression ...
– sudodus
Jan 15 at 17:25
1
1
[0-9]+(.[0-9]*)?
or even [0-9]+(.[0-9]+)?
maybe?– Stephen Kitt
Jan 15 at 18:04
[0-9]+(.[0-9]*)?
or even [0-9]+(.[0-9]+)?
maybe?– Stephen Kitt
Jan 15 at 18:04
@StephenKitt, I think your first expression finds the same 'candidates' as my first string
.*[0-9]+.*
in the current version of the answer. Your second string will exclude some of dots (which may be good or bad depending on what the user wants to see).– sudodus
Jan 15 at 19:47
@StephenKitt, I think your first expression finds the same 'candidates' as my first string
.*[0-9]+.*
in the current version of the answer. Your second string will exclude some of dots (which may be good or bad depending on what the user wants to see).– sudodus
Jan 15 at 19:47
|
show 3 more comments
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494637%2fhow-do-i-search-a-file-using-less-for-a-value-with-a-decimal-point%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
11
How did you "try to escape it with no success" without using a backslash?
– Xen2050
Jan 15 at 23:38
You answered your own question. If I used a backslash I would have succeeded, wouldn't I have..?
– notAChance
Jan 18 at 13:45
Maybe I'll rephrase it slightly: What exactly did you type when you tried to escape the decimal with no success? Or did you only press slash to search, then typed
70.5
? Maybe there's a misunderstanding of "escape"?– Xen2050
Jan 18 at 22:15