« first day (2336 days earlier)      last day (1766 days later) » 

 
5 hours later…
7:24 AM
12 messages moved from GMTs
 
7:57 AM
can someone please upvote or downvote any of my posts.. just one
please
 
@Dwigh depends. do you have anything worthy of being upvoted or downvoted?
 
@Neil this has two downvotes. maybe this is worth downvoting
-2
Q: Regex for alphanumberic with / or -

DwighThe regex should match alphabets or numbers with / or - in between them but should not start or end with / or - I tried this using RegExr but does not work [a-zA-Z0-9]+[/|-]*[a-zA-Z0-9]+$

 
why would you want downvotes?
 
i dont want to say
 
7 messages moved from JavaScript
 
 
2 hours later…
 
1 hour later…
 
2 hours later…
 
2 hours later…
5:39 PM
<p id="errorList" v-if="errors.length > 0">
    <ul>
        <template v-for="error in errors"><li>{{ error }}</li></template>
    </ul>
</p>
<button v-if="currentSearchType != null" v-on:click="doSearch">Search</button>
 
1 message moved from JavaScript
 
 
1 hour later…
6:57 PM
this is what the documention says
void Method(const FunctionCallbackInfo<Value>& args) {
Isolate* isolate = args.GetIsolate();
args.GetReturnValue().Set(String::NewFromUtf8(
isolate, "world", NewStringType::kNormal).ToLocalChecked());
}
 
1 message moved from JavaScript
 
 
3 hours later…
9:51 PM
```
//Read from workbook
//Returns workbook object
excel.readWorkbook = function(workbookPath) {
const xlsx = this.xlsx;
console.log('Validating File Path...');
if(/^[a-z]:((\\|\/)[a-z0-9\s_@\-^!#$%&+={}\[\]]+)+\.xlsx$/i.test(workbookPath)){
//TODO should validate path
console.log('Waiting...');
console.log('Path Extension Validated!');
return xlsx.readFile(workbookPath);
}else{
return console.log('That file path is not a validated xlsx extension.');
};

};
```
 
1 message moved from JavaScript
 

« first day (2336 days earlier)      last day (1766 days later) »