If it's any consolation there is the more compact hack of `[^]`, which I
**think** is supposed to work everywhere.

On Wed, Aug 10, 2016 at 3:02 PM, Jake Reynolds <[email protected]>
>> wrote:
>>
>>> In ECMAScript the only current way to make a match like that work is to
>>> use [\d\D] which will match everything including newlines, given below.
>>>
>>> *Current workaround regex: */he[\d\D]?llo/
>>>
>>> The *s* modifier is the standard in most major languages except
>>> Javascript and Ruby.  This will allow newline matching for the . symbol.
>>> The proposed regex is below:
>>>
>>> *Proposed new regex: */he[.*]?llo/s
>>> *Example search string: *he
>>> llo
>>>
>>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to