Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81175875
index.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Sep 4, 14:25
Size
446 B
Mime Type
text/x-java
Expires
Fri, Sep 6, 14:25 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20526753
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
index.d.ts
View Options
/**
Regular expression for matching a [shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) line.
@example
```
import shebangRegex = require('shebang-regex');
const string = '#!/usr/bin/env node\nconsole.log("unicorns");';
shebangRegex.test(string);
//=> true
shebangRegex.exec(string)[0];
//=> '#!/usr/bin/env node'
shebangRegex.exec(string)[1];
//=> '/usr/bin/env node'
```
*/
declare const shebangRegex: RegExp;
export = shebangRegex;
Event Timeline
Log In to Comment