Re: [PATCH] RFC: userdiff: add built-in pattern for rust
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- May 16, 2019, 20:46 UTC
- Message-ID
- <aa6913d2-229e-096f-abdb-881f22821629@kdbg.org>
- In-Reply-To
- <c8b6e9c6-12a4-c6dd-bea9-7f07c8af7d15@kdbg.org>
Am 16.05.19 um 22:29 schrieb Johannes Sixt:
Show 7 quoted lines
> Am 15.05.19 um 20:34 schrieb marcandre.lureau@redhat.com: >> + "[a-zA-Z_][a-zA-Z0-9_]*" >> + "|[-+_0-9.eE]+(f32|f64|u8|u16|u32|u64|u128|usize|i8|i16|i32|i64|i128|isize)?" > > I assume that > > +e_1.ei8-e_2.eu128
Make that +e_1.e_8-e_2.eu128
> is correct syntax, but not a single token. Yet, your number pattern > would take it as a single word.
-- Hannes