Abstract
The objectives of this chapter are to:
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
FBI agent: Tsarnaev’s computer contained extremist materials. http://www.chicagotribune.com/news/nationworld/chi-boston-bombing-suspect-computer-extremist-materials-20150319-story.html
https://www.sitepoint.com/regexper-regular-expressions-explained/
srch_strings. http://man.he.net/man1/srch_strings
Keyword searching and indexing of forensic images. http://pyflag.sourceforge.net/Documentation/articles/indexing/index.html
Author information
Authors and Affiliations
Appendix: Regular Expression Metacharacters [2, 4]
Appendix: Regular Expression Metacharacters [2, 4]
Metacharacter | Description |
---|---|
^ | Matches the following item at the beginning of a text line |
$ | Matches the preceding item at the end of a text line |
. | Matches any single character |
[…] | A bracket expression. Matches a single character in the bracketed list or range |
[^…] | Matches a single character that is not contained within the brackets |
( ) | Defines a marked subexpression. A marked subexpression is also called a block or capturing group. BRE mode requires |
* | Matches the preceding item zero or more time |
{m} | The preceding item is matched exactly m times. BRE mode requires \{m\} |
{m,} | The preceding item is matched N or more times. BRE mode requires \{m,\} |
{m,n} | Matches the preceding item at least m and not more than n times. BRE mode requires \{m,n\} |
\ | The escape of special meaning of next character |
The next three metacharacters are only for extended regular expression
Metacharacter | Description |
---|---|
? | Matches the preceding character, metacharacter, or expression zero or one time |
+ | Matches the preceding character, metacharacter, or expression one or more times. There is no limit to the amount of times it can be matched |
| | Matches the character, metacharacter, or expression on either side of it |
Note that to use the grep command to search for metacharacters, you have to use a backslash (\) to escape the metacharacter. For example, the regular expression “^\.” matches lines that start with a period.
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Lin, X. (2018). Keyword Forensics. In: Introductory Computer Forensics. Springer, Cham. https://doi.org/10.1007/978-3-030-00581-8_11
Download citation
DOI: https://doi.org/10.1007/978-3-030-00581-8_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-00580-1
Online ISBN: 978-3-030-00581-8
eBook Packages: Computer ScienceComputer Science (R0)