Skip to content

Commit 9a56b7e

Browse files
Explain the use of double backslashes with regex
1 parent d828266 commit 9a56b7e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/ROOT/pages/import.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,12 @@ For example:
545545
bin/neo4j-admin database import full --nodes import/node_header.csv,import/node_data_\d+\.csv
546546
----
547547

548+
[NOTE]
549+
====
550+
It is important to remember that in many scripting languages you often need to use double backslashes (`\\`) when writing regular expression patterns inside string literals.
551+
====
552+
553+
548554
==== Import data from CSV files using a more complex regular expression
549555

550556
For regular expression patterns containing commas, which is also the delimiter between files in a group, the pattern can be quoted to preserve the pattern.

0 commit comments

Comments
 (0)